#[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 Defines image info struct.
@since 12 @version 1.0
Fields§
§width: i32storage for width of image
height: i32storage for height of image
colorType: OH_Drawing_ColorFormatstorage for color formats
alphaType: OH_Drawing_AlphaFormatstorage for alpha formats
Trait Implementations§
Source§impl Clone for OH_Drawing_Image_Info
impl Clone for OH_Drawing_Image_Info
Source§fn clone(&self) -> OH_Drawing_Image_Info
fn clone(&self) -> OH_Drawing_Image_Info
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 moreSource§impl Debug for OH_Drawing_Image_Info
impl Debug for OH_Drawing_Image_Info
impl Copy for OH_Drawing_Image_Info
Auto Trait Implementations§
impl Freeze 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