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