#[repr(C)]pub struct OhosImageSize {
pub width: i32,
pub height: i32,
}Expand description
@brief Defines the image size.
@since 10 @version 2.0
Fields§
§width: i32Image width, in pixels.
height: i32Image height, in pixels.
Trait Implementations§
Source§impl Clone for OhosImageSize
impl Clone for OhosImageSize
Source§fn clone(&self) -> OhosImageSize
fn clone(&self) -> OhosImageSize
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 OhosImageSize
impl Debug for OhosImageSize
impl Copy for OhosImageSize
Auto Trait Implementations§
impl Freeze for OhosImageSize
impl RefUnwindSafe for OhosImageSize
impl Send for OhosImageSize
impl Sync for OhosImageSize
impl Unpin for OhosImageSize
impl UnsafeUnpin for OhosImageSize
impl UnwindSafe for OhosImageSize
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