pub struct Cube {
x1: i32,
x2: i32,
y1: i32,
y2: i32,
z1: i32,
z2: i32,
}
Expand description
Technically this is actually a rectangular cuboid but that was longer to type!
Fields§
§x1: i32
§x2: i32
§y1: i32
§y2: i32
§z1: i32
§z2: i32
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cube
impl RefUnwindSafe for Cube
impl Send for Cube
impl Sync for Cube
impl Unpin 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