#[repr(C)]pub struct Offset2D {
pub x: i32,
pub y: i32,
}
Expand description
Fields§
§x: i32
§y: i32
Implementations§
Trait Implementations§
source§impl PartialEq for Offset2D
impl PartialEq for Offset2D
impl Copy for Offset2D
impl Eq for Offset2D
impl StructuralPartialEq for Offset2D
Auto Trait Implementations§
impl Freeze for Offset2D
impl RefUnwindSafe for Offset2D
impl Send for Offset2D
impl Sync for Offset2D
impl Unpin for Offset2D
impl UnwindSafe for Offset2D
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