#[repr(C)]pub struct int2 {
pub x: i32,
pub y: i32,
}Fields§
§x: i32§y: i32Trait Implementations§
source§impl Ord for int2
impl Ord for int2
source§impl PartialEq<int2> for int2
impl PartialEq<int2> for int2
source§impl PartialOrd<int2> for int2
impl PartialOrd<int2> for int2
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for int2
impl Eq for int2
impl StructuralEq for int2
impl StructuralPartialEq for int2
Auto Trait Implementations§
impl RefUnwindSafe for int2
impl Send for int2
impl Sync for int2
impl Unpin for int2
impl UnwindSafe for int2
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