pub enum Basic {
Box {
width: f64,
depth: f64,
height: f64,
},
Cylinder {
radius: f64,
height: f64,
},
Sphere {
radius: f64,
},
Plane {
width: f64,
},
}Expand description
A basic shape a cage starts from, with its dimensions.
Variants§
Implementations§
Trait Implementations§
impl Copy for Basic
impl StructuralPartialEq for Basic
Auto Trait Implementations§
impl Freeze for Basic
impl RefUnwindSafe for Basic
impl Send for Basic
impl Sync for Basic
impl Unpin for Basic
impl UnsafeUnpin for Basic
impl UnwindSafe for Basic
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