#[repr(C)]pub struct OhosImageSourceProperty {
pub value: *mut c_char,
pub size: usize,
}Expand description
@brief Defines the property string (in key-value format) of the image source. It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}.
@syscap SystemCapability.Multimedia.Image @since 10 @version 4.0
Fields§
§value: *mut c_charImage source property key and value string head.
size: usizeImage source property key and value string size.
Trait Implementations§
Source§impl Clone for OhosImageSourceProperty
impl Clone for OhosImageSourceProperty
Source§fn clone(&self) -> OhosImageSourceProperty
fn clone(&self) -> OhosImageSourceProperty
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OhosImageSourceProperty
Auto Trait Implementations§
impl !Send for OhosImageSourceProperty
impl !Sync for OhosImageSourceProperty
impl Freeze for OhosImageSourceProperty
impl RefUnwindSafe for OhosImageSourceProperty
impl Unpin for OhosImageSourceProperty
impl UnsafeUnpin for OhosImageSourceProperty
impl UnwindSafe for OhosImageSourceProperty
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more