#[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}.
@since 10 @version 4.0
Fields§
§value: *mut c_charImage source property key and value string head. @since 10
size: usizeImage source property key and value string size. @since 10
Trait Implementations§
Source§impl Clone for OhosImageSourceProperty
impl Clone for OhosImageSourceProperty
impl Copy for OhosImageSourceProperty
Auto Trait Implementations§
impl !Send for OhosImageSourceProperty
impl !Sync for OhosImageSourceProperty
impl Forget for OhosImageSourceProperty
impl Freeze for OhosImageSourceProperty
impl Move 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