#[repr(C)]pub struct OhosImageDecodingOps {
pub editable: i8,
pub pixelFormat: i32,
pub fitDensity: i32,
pub index: u32,
pub sampleSize: u32,
pub rotate: u32,
pub size: OhosImageSize,
pub region: OhosImageRegion,
}Expand description
@brief Defines the options for decoding the image source. It is used in {@link OH_ImageSource_CreatePixelMap} and {@link OH_ImageSource_CreatePixelMapList}.
@syscap SystemCapability.Multimedia.Image @since 10 @version 4.0
Fields§
§editable: i8Defines output pixel map editable.
pixelFormat: i32Defines output pixel format.
fitDensity: i32Defines decoding target pixel density.
index: u32Defines decoding index of image source.
sampleSize: u32Defines decoding sample size option.
rotate: u32Defines decoding rotate option.
size: OhosImageSizeDefines decoding target pixel size of width and height.
region: OhosImageRegionDefines image source pixel region for decoding.
Trait Implementations§
Source§impl Clone for OhosImageDecodingOps
impl Clone for OhosImageDecodingOps
Source§fn clone(&self) -> OhosImageDecodingOps
fn clone(&self) -> OhosImageDecodingOps
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 OhosImageDecodingOps
impl Debug for OhosImageDecodingOps
impl Copy for OhosImageDecodingOps
Auto Trait Implementations§
impl Freeze for OhosImageDecodingOps
impl RefUnwindSafe for OhosImageDecodingOps
impl Send for OhosImageDecodingOps
impl Sync for OhosImageDecodingOps
impl Unpin for OhosImageDecodingOps
impl UnsafeUnpin for OhosImageDecodingOps
impl UnwindSafe for OhosImageDecodingOps
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