#[repr(C)]pub struct OhosImageSourceOps {
pub density: i32,
pub pixelFormat: i32,
pub size: OhosImageSize,
}Expand description
@brief Defines image source options information {@link OH_ImageSource_Create} and {@link OH_ImageSource_CreateIncremental}.
@since 10 @version 4.0
Fields§
§density: i32Pixel density of the image source.
pixelFormat: i32Image source pixel format, used to describe YUV buffer usually.
size: OhosImageSizeImage source pixel size of width and height.
Trait Implementations§
Source§impl Clone for OhosImageSourceOps
impl Clone for OhosImageSourceOps
impl Copy for OhosImageSourceOps
Auto Trait Implementations§
impl Forget for OhosImageSourceOps
impl Freeze for OhosImageSourceOps
impl Move for OhosImageSourceOps
impl RefUnwindSafe for OhosImageSourceOps
impl Send for OhosImageSourceOps
impl Sync for OhosImageSourceOps
impl Unpin for OhosImageSourceOps
impl UnsafeUnpin for OhosImageSourceOps
impl UnwindSafe for OhosImageSourceOps
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