Enum RegularPolytope
pub enum RegularPolytope {
Polygon(RegularPolygon),
PlatonicSolid(PlatonicSolid),
Polytope4(RegularPolytope4),
}Expand description
A regular polytope descriptor across common dimensions.
Variants§
Polygon(RegularPolygon)
A regular polygon.
PlatonicSolid(PlatonicSolid)
A Platonic solid.
Polytope4(RegularPolytope4)
A convex regular four-dimensional polytope.
Implementations§
§impl RegularPolytope
impl RegularPolytope
pub fn schlafli_symbol(self) -> SchlafliSymbol
pub fn schlafli_symbol(self) -> SchlafliSymbol
Returns the Schlafli symbol.
Trait Implementations§
§impl Clone for RegularPolytope
impl Clone for RegularPolytope
§fn clone(&self) -> RegularPolytope
fn clone(&self) -> RegularPolytope
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for RegularPolytope
impl Debug for RegularPolytope
§impl PartialEq for RegularPolytope
impl PartialEq for RegularPolytope
impl Copy for RegularPolytope
impl StructuralPartialEq for RegularPolytope
Auto Trait Implementations§
impl Freeze for RegularPolytope
impl RefUnwindSafe for RegularPolytope
impl Send for RegularPolytope
impl Sync for RegularPolytope
impl Unpin for RegularPolytope
impl UnsafeUnpin for RegularPolytope
impl UnwindSafe for RegularPolytope
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