#[repr(C)]pub struct OH_Drawing_Image_Info {
pub width: i32,
pub height: i32,
pub colorType: OH_Drawing_ColorFormat,
pub alphaType: OH_Drawing_AlphaFormat,
}Expand description
@brief This struct describes the image information.
@since 12 @version 1.0
Fields§
§width: i32Width, in pixels.
@since 12
height: i32Height, in pixels.
@since 12
colorType: OH_Drawing_ColorFormatColor type.
@since 12
alphaType: OH_Drawing_AlphaFormatAlpha type.
@since 12
Trait Implementations§
Source§impl Clone for OH_Drawing_Image_Info
impl Clone for OH_Drawing_Image_Info
impl Copy for OH_Drawing_Image_Info
Auto Trait Implementations§
impl Forget for OH_Drawing_Image_Info
impl Freeze for OH_Drawing_Image_Info
impl Move for OH_Drawing_Image_Info
impl RefUnwindSafe for OH_Drawing_Image_Info
impl Send for OH_Drawing_Image_Info
impl Sync for OH_Drawing_Image_Info
impl Unpin for OH_Drawing_Image_Info
impl UnsafeUnpin for OH_Drawing_Image_Info
impl UnwindSafe for OH_Drawing_Image_Info
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