Struct UniformPolytope
pub struct UniformPolytope { /* private fields */ }Expand description
A lightweight uniform polytope descriptor.
Implementations§
§impl UniformPolytope
impl UniformPolytope
pub const fn new(
dimension: usize,
kind: UniformPolytopeKind,
) -> Option<UniformPolytope>
pub const fn new( dimension: usize, kind: UniformPolytopeKind, ) -> Option<UniformPolytope>
Creates a uniform polytope descriptor with positive dimension.
pub const fn kind(self) -> UniformPolytopeKind
pub const fn kind(self) -> UniformPolytopeKind
Returns the classification kind.
Trait Implementations§
§impl Clone for UniformPolytope
impl Clone for UniformPolytope
§fn clone(&self) -> UniformPolytope
fn clone(&self) -> UniformPolytope
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 UniformPolytope
impl Debug for UniformPolytope
§impl PartialEq for UniformPolytope
impl PartialEq for UniformPolytope
impl Copy for UniformPolytope
impl Eq for UniformPolytope
impl StructuralPartialEq for UniformPolytope
Auto Trait Implementations§
impl Freeze for UniformPolytope
impl RefUnwindSafe for UniformPolytope
impl Send for UniformPolytope
impl Sync for UniformPolytope
impl Unpin for UniformPolytope
impl UnsafeUnpin for UniformPolytope
impl UnwindSafe for UniformPolytope
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