#[repr(C)]pub struct OhosImageSourceSupportedFormat {
pub format: *mut c_char,
pub size: usize,
}Expand description
@brief Defines image source supported format string. {@link OhosImageSourceSupportedFormatList} and {@link OH_ImageSource_GetSupportedFormats}
@syscap SystemCapability.Multimedia.Image @since 10 @version 4.0
Fields§
§format: *mut c_charImage source supported format string head.
size: usizeImage source supported format string size.
Trait Implementations§
Source§impl Clone for OhosImageSourceSupportedFormat
impl Clone for OhosImageSourceSupportedFormat
Source§fn clone(&self) -> OhosImageSourceSupportedFormat
fn clone(&self) -> OhosImageSourceSupportedFormat
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 OhosImageSourceSupportedFormat
Auto Trait Implementations§
impl !Send for OhosImageSourceSupportedFormat
impl !Sync for OhosImageSourceSupportedFormat
impl Freeze for OhosImageSourceSupportedFormat
impl RefUnwindSafe for OhosImageSourceSupportedFormat
impl Unpin for OhosImageSourceSupportedFormat
impl UnsafeUnpin for OhosImageSourceSupportedFormat
impl UnwindSafe for OhosImageSourceSupportedFormat
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