pub struct IntSize {
pub width: i32,
pub height: i32,
}Expand description
Integer size used by node custom-event geometry APIs.
Fields§
§width: i32§height: i32Trait Implementations§
Source§impl From<ArkUI_IntSize> for IntSize
impl From<ArkUI_IntSize> for IntSize
Source§fn from(value: ArkUI_IntSize) -> Self
fn from(value: ArkUI_IntSize) -> Self
Converts to this type from the input type.
Source§impl From<IntSize> for ArkUI_IntSize
impl From<IntSize> for ArkUI_IntSize
impl Copy for IntSize
impl Eq for IntSize
impl StructuralPartialEq for IntSize
Auto Trait Implementations§
impl Freeze for IntSize
impl RefUnwindSafe for IntSize
impl Send for IntSize
impl Sync for IntSize
impl Unpin for IntSize
impl UnsafeUnpin for IntSize
impl UnwindSafe for IntSize
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