#[repr(C)]pub struct OhosImageRect {
pub x: i32,
pub y: i32,
pub width: i32,
pub height: i32,
}Expand description
@brief Defines the information about an image rectangle.
@since 10 @version 2.0
Fields§
§x: i32X coordinate of the rectangle.
y: i32Y coordinate of the rectangle.
width: i32Width of the rectangle, in pixels.
height: i32Height of the rectangle, in pixels.
Trait Implementations§
Source§impl Clone for OhosImageRect
impl Clone for OhosImageRect
impl Copy for OhosImageRect
Auto Trait Implementations§
impl Forget for OhosImageRect
impl Freeze for OhosImageRect
impl Move for OhosImageRect
impl RefUnwindSafe for OhosImageRect
impl Send for OhosImageRect
impl Sync for OhosImageRect
impl Unpin for OhosImageRect
impl UnsafeUnpin for OhosImageRect
impl UnwindSafe for OhosImageRect
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