#[repr(C)]pub struct ArkUI_Rect {
pub x: f32,
pub y: f32,
pub width: f32,
pub height: f32,
}Available on crate feature
api-12 only.Expand description
Defines a mask area.
Available since API-level: 12
Fields§
§x: f32X coordinate of the mask area.
y: f32Y coordinate of the mask area.
width: f32Width of the mask area.
height: f32Height of the mask area.
Trait Implementations§
Source§impl Clone for ArkUI_Rect
impl Clone for ArkUI_Rect
Source§fn clone(&self) -> ArkUI_Rect
fn clone(&self) -> ArkUI_Rect
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArkUI_Rect
impl Debug for ArkUI_Rect
impl Copy for ArkUI_Rect
Auto Trait Implementations§
impl Freeze for ArkUI_Rect
impl RefUnwindSafe for ArkUI_Rect
impl Send for ArkUI_Rect
impl Sync for ArkUI_Rect
impl Unpin for ArkUI_Rect
impl UnwindSafe for ArkUI_Rect
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)