pub struct Cube {
pub x: i64,
pub z: i64,
pub y: i64,
}Fields§
§x: i64§z: i64§y: i64Implementations§
Trait Implementations§
impl Copy for Cube
impl Eq for Cube
Source§impl Ord for Cube
impl Ord for Cube
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Cube
impl PartialOrd for Cube
impl StructuralPartialEq for Cube
Auto Trait Implementations§
impl Forget for Cube
impl Freeze for Cube
impl Move for Cube
impl RefUnwindSafe for Cube
impl Send for Cube
impl Sync for Cube
impl Unpin for Cube
impl UnsafeUnpin for Cube
impl UnwindSafe for Cube
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