pub struct UniformPolytope { /* private fields */ }Expand description
A lightweight uniform polytope descriptor.
Implementations§
Source§impl UniformPolytope
impl UniformPolytope
Sourcepub 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.
Sourcepub const fn kind(self) -> UniformPolytopeKind
pub const fn kind(self) -> UniformPolytopeKind
Returns the classification kind.
Trait Implementations§
Source§impl Clone for UniformPolytope
impl Clone for UniformPolytope
Source§fn clone(&self) -> UniformPolytope
fn clone(&self) -> UniformPolytope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UniformPolytope
impl Debug for UniformPolytope
Source§impl PartialEq for UniformPolytope
impl PartialEq for UniformPolytope
Source§fn eq(&self, other: &UniformPolytope) -> bool
fn eq(&self, other: &UniformPolytope) -> bool
Tests for
self and other values to be equal, and is used by ==.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