#[repr(C)]pub struct OhosImageComponent {
pub byteBuffer: *mut u8,
pub size: usize,
pub componentType: i32,
pub rowStride: i32,
pub pixelStride: i32,
}Expand description
@brief Defines the image composition information.
@since 10 @version 2.0
Fields§
§byteBuffer: *mut u8Buffer that stores the pixel data.
size: usizeSize of the pixel data in the memory.
componentType: i32Type of the pixel data.
rowStride: i32Row stride of the pixel data.
pixelStride: i32Pixel stride of the pixel data
Trait Implementations§
Source§impl Clone for OhosImageComponent
impl Clone for OhosImageComponent
impl Copy for OhosImageComponent
Auto Trait Implementations§
impl !Send for OhosImageComponent
impl !Sync for OhosImageComponent
impl Forget for OhosImageComponent
impl Freeze for OhosImageComponent
impl Move for OhosImageComponent
impl RefUnwindSafe for OhosImageComponent
impl Unpin for OhosImageComponent
impl UnsafeUnpin for OhosImageComponent
impl UnwindSafe for OhosImageComponent
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