#[repr(C)]pub struct OhosPixelMapCreateOps {
pub width: u32,
pub height: u32,
pub pixelFormat: i32,
pub editable: u32,
pub alphaType: u32,
pub scaleMode: u32,
}Expand description
@brief Defines the options used for creating a pixel map.
@since 10 @version 1.0
Fields§
§width: u32Image width, in pixels.
height: u32Image height, in pixels.
pixelFormat: i32Image format.
editable: u32Editing type of the image.
alphaType: u32Alpha type of the image.
scaleMode: u32Scale mode of the image.
Trait Implementations§
Source§impl Clone for OhosPixelMapCreateOps
impl Clone for OhosPixelMapCreateOps
Source§fn clone(&self) -> OhosPixelMapCreateOps
fn clone(&self) -> OhosPixelMapCreateOps
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 OhosPixelMapCreateOps
impl Debug for OhosPixelMapCreateOps
impl Copy for OhosPixelMapCreateOps
Auto Trait Implementations§
impl Freeze for OhosPixelMapCreateOps
impl RefUnwindSafe for OhosPixelMapCreateOps
impl Send for OhosPixelMapCreateOps
impl Sync for OhosPixelMapCreateOps
impl Unpin for OhosPixelMapCreateOps
impl UnsafeUnpin for OhosPixelMapCreateOps
impl UnwindSafe for OhosPixelMapCreateOps
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