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