pub struct DynMultivectorStorage<T, N: Dim> { /* private fields */ }
Expand description
Storage buffer for a Multivector
that can use a
Dynamic
dim to vary its size at runtime
Trait Implementations
The dimension of Multivector
being stored. Can vary when using a Dynamic
dimension
Allocates a buffer to contain a Multivector
of the given dimension
Allocates and initializes a buffer to contain a Multivector
of the given dimension
type Uninit = DynMultivectorStorage<MaybeUninit<T>, N>
type Uninit = DynMultivectorStorage<MaybeUninit<T>, N>
The corresponding uninitialized storage that can transmute into this type
type Iter = <Self as IntoIterator>::IntoIter
type Iter = <Self as IntoIterator>::IntoIter
The iterator over this type. Wraps IntoIterator::IntoIter
Read more
Wraps Clone::clone()
whenever T:Clone
Read more
Wraps Clone::clone_from()
whenever T:Clone
Read more
type Init = DynMultivectorStorage<T, N>
type Init = DynMultivectorStorage<T, N>
The initialized storage that we can trasmute into
Transmutes this buffer into one assumed to be initialized Read more
Auto Trait Implementations
impl<T, N> RefUnwindSafe for DynMultivectorStorage<T, N> where
N: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, N> Send for DynMultivectorStorage<T, N> where
T: Send,
impl<T, N> Sync for DynMultivectorStorage<T, N> where
T: Sync,
impl<T, N> Unpin for DynMultivectorStorage<T, N> where
N: Unpin,
T: Unpin,
impl<T, N> UnwindSafe for DynMultivectorStorage<T, N> where
N: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
type Buffer = DynBladeStorage<T, Const<N>, Dynamic>
type Buffer = DynBladeStorage<T, Dynamic, Const<G>>
type Buffer = DynBladeStorage<T, Dynamic, Dynamic>
type Buffer = DynMultivectorStorage<T, Dynamic>
Mutably borrows from an owned value. Read more
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.