pub struct Pos2 {
pub x: i32,
pub z: i32,
}Fields§
§x: i32§z: i32Trait Implementations§
source§impl Ord for Pos2
impl Ord for Pos2
source§impl PartialEq<Pos2> for Pos2
impl PartialEq<Pos2> for Pos2
source§impl PartialOrd<Pos2> for Pos2
impl PartialOrd<Pos2> for Pos2
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 Pos2
impl Eq for Pos2
impl StructuralEq for Pos2
impl StructuralPartialEq for Pos2
Auto Trait Implementations§
impl RefUnwindSafe for Pos2
impl Send for Pos2
impl Sync for Pos2
impl Unpin for Pos2
impl UnwindSafe for Pos2
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