#[repr(C)]pub struct IVec2 {
pub x: i32,
pub y: i32,
}Expand description
la::vec<int, 2>
Fields§
§x: i32§y: i32Implementations§
Trait Implementations§
Source§impl AddAssign for IVec2
impl AddAssign for IVec2
Source§fn add_assign(&mut self, b: IVec2)
fn add_assign(&mut self, b: IVec2)
Performs the
+= operation. Read moreimpl Copy for IVec2
impl Eq for IVec2
Source§impl Ord for IVec2
impl Ord for IVec2
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for IVec2
impl PartialOrd for IVec2
impl StructuralPartialEq for IVec2
Auto Trait Implementations§
impl Freeze for IVec2
impl RefUnwindSafe for IVec2
impl Send for IVec2
impl Sync for IVec2
impl Unpin for IVec2
impl UnsafeUnpin for IVec2
impl UnwindSafe for IVec2
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