[−][src]Struct rin::math::dimension::Dynamic
Dim of dynamically-sized algebraic entities.
Methods
impl Dynamic
[src]
impl Dynamic
Trait Implementations
impl Sub<usize> for Dynamic
[src]
impl Sub<usize> for Dynamic
type Output = Dynamic
The resulting type after applying the -
operator.
fn sub(self, rhs: usize) -> Dynamic
[src]
fn sub(self, rhs: usize) -> Dynamic
impl PartialEq<Dynamic> for Dynamic
[src]
impl PartialEq<Dynamic> for Dynamic
impl<D> DimMul<D> for Dynamic where
D: Dim,
[src]
impl<D> DimMul<D> for Dynamic where
D: Dim,
impl<D> DimMul<Dynamic> for D where
D: DimName,
[src]
impl<D> DimMul<Dynamic> for D where
D: DimName,
impl<N, RFrom, CFrom, CTo> Reallocator<N, RFrom, CFrom, Dynamic, CTo> for DefaultAllocator where
CFrom: DimName,
CTo: Dim,
N: Scalar,
RFrom: DimName,
<RFrom as DimName>::Value: Mul<<CFrom as DimName>::Value>,
<<RFrom as DimName>::Value as Mul<<CFrom as DimName>::Value>>::Output: ArrayLength<N>,
[src]
impl<N, RFrom, CFrom, CTo> Reallocator<N, RFrom, CFrom, Dynamic, CTo> for DefaultAllocator where
CFrom: DimName,
CTo: Dim,
N: Scalar,
RFrom: DimName,
<RFrom as DimName>::Value: Mul<<CFrom as DimName>::Value>,
<<RFrom as DimName>::Value as Mul<<CFrom as DimName>::Value>>::Output: ArrayLength<N>,
unsafe fn reallocate_copy(
rto: Dynamic,
cto: CTo,
buf: ArrayStorage<N, RFrom, CFrom>
) -> VecStorage<N, Dynamic, CTo>
[src]
unsafe fn reallocate_copy(
rto: Dynamic,
cto: CTo,
buf: ArrayStorage<N, RFrom, CFrom>
) -> VecStorage<N, Dynamic, CTo>
impl<N, CFrom, RTo> Reallocator<N, Dynamic, CFrom, RTo, Dynamic> for DefaultAllocator where
CFrom: Dim,
N: Scalar,
RTo: DimName,
[src]
impl<N, CFrom, RTo> Reallocator<N, Dynamic, CFrom, RTo, Dynamic> for DefaultAllocator where
CFrom: Dim,
N: Scalar,
RTo: DimName,
unsafe fn reallocate_copy(
rto: RTo,
cto: Dynamic,
buf: VecStorage<N, Dynamic, CFrom>
) -> VecStorage<N, RTo, Dynamic>
[src]
unsafe fn reallocate_copy(
rto: RTo,
cto: Dynamic,
buf: VecStorage<N, Dynamic, CFrom>
) -> VecStorage<N, RTo, Dynamic>
impl<N, RFrom, CTo> Reallocator<N, RFrom, Dynamic, Dynamic, CTo> for DefaultAllocator where
CTo: Dim,
N: Scalar,
RFrom: DimName,
[src]
impl<N, RFrom, CTo> Reallocator<N, RFrom, Dynamic, Dynamic, CTo> for DefaultAllocator where
CTo: Dim,
N: Scalar,
RFrom: DimName,
unsafe fn reallocate_copy(
rto: Dynamic,
cto: CTo,
buf: VecStorage<N, RFrom, Dynamic>
) -> VecStorage<N, Dynamic, CTo>
[src]
unsafe fn reallocate_copy(
rto: Dynamic,
cto: CTo,
buf: VecStorage<N, RFrom, Dynamic>
) -> VecStorage<N, Dynamic, CTo>
impl<N, RFrom, CFrom, RTo> Reallocator<N, RFrom, CFrom, RTo, Dynamic> for DefaultAllocator where
CFrom: DimName,
N: Scalar,
RFrom: DimName,
RTo: DimName,
<RFrom as DimName>::Value: Mul<<CFrom as DimName>::Value>,
<<RFrom as DimName>::Value as Mul<<CFrom as DimName>::Value>>::Output: ArrayLength<N>,
[src]
impl<N, RFrom, CFrom, RTo> Reallocator<N, RFrom, CFrom, RTo, Dynamic> for DefaultAllocator where
CFrom: DimName,
N: Scalar,
RFrom: DimName,
RTo: DimName,
<RFrom as DimName>::Value: Mul<<CFrom as DimName>::Value>,
<<RFrom as DimName>::Value as Mul<<CFrom as DimName>::Value>>::Output: ArrayLength<N>,
unsafe fn reallocate_copy(
rto: RTo,
cto: Dynamic,
buf: ArrayStorage<N, RFrom, CFrom>
) -> VecStorage<N, RTo, Dynamic>
[src]
unsafe fn reallocate_copy(
rto: RTo,
cto: Dynamic,
buf: ArrayStorage<N, RFrom, CFrom>
) -> VecStorage<N, RTo, Dynamic>
impl<N, CFrom, CTo> Reallocator<N, Dynamic, CFrom, Dynamic, CTo> for DefaultAllocator where
CFrom: Dim,
CTo: Dim,
N: Scalar,
[src]
impl<N, CFrom, CTo> Reallocator<N, Dynamic, CFrom, Dynamic, CTo> for DefaultAllocator where
CFrom: Dim,
CTo: Dim,
N: Scalar,
unsafe fn reallocate_copy(
rto: Dynamic,
cto: CTo,
buf: VecStorage<N, Dynamic, CFrom>
) -> VecStorage<N, Dynamic, CTo>
[src]
unsafe fn reallocate_copy(
rto: Dynamic,
cto: CTo,
buf: VecStorage<N, Dynamic, CFrom>
) -> VecStorage<N, Dynamic, CTo>
impl<N, RFrom, RTo> Reallocator<N, RFrom, Dynamic, RTo, Dynamic> for DefaultAllocator where
N: Scalar,
RFrom: DimName,
RTo: DimName,
[src]
impl<N, RFrom, RTo> Reallocator<N, RFrom, Dynamic, RTo, Dynamic> for DefaultAllocator where
N: Scalar,
RFrom: DimName,
RTo: DimName,
unsafe fn reallocate_copy(
rto: RTo,
cto: Dynamic,
buf: VecStorage<N, RFrom, Dynamic>
) -> VecStorage<N, RTo, Dynamic>
[src]
unsafe fn reallocate_copy(
rto: RTo,
cto: Dynamic,
buf: VecStorage<N, RFrom, Dynamic>
) -> VecStorage<N, RTo, Dynamic>
impl<D> DimDiv<D> for Dynamic where
D: Dim,
[src]
impl<D> DimDiv<D> for Dynamic where
D: Dim,
impl<D> DimDiv<Dynamic> for D where
D: DimName,
[src]
impl<D> DimDiv<Dynamic> for D where
D: DimName,
impl Eq for Dynamic
[src]
impl Eq for Dynamic
impl<D> SameNumberOfRows<Dynamic, D> for ShapeConstraint where
D: DimName,
[src]
impl<D> SameNumberOfRows<Dynamic, D> for ShapeConstraint where
D: DimName,
type Representative = D
This is either equal to D1
or D2
, always choosing the one (if any) which is a type-level constant. Read more
impl<D> SameNumberOfRows<D, Dynamic> for ShapeConstraint where
D: DimName,
[src]
impl<D> SameNumberOfRows<D, Dynamic> for ShapeConstraint where
D: DimName,
type Representative = D
This is either equal to D1
or D2
, always choosing the one (if any) which is a type-level constant. Read more
impl<N, R> ContiguousStorage<N, R, Dynamic> for VecStorage<N, R, Dynamic> where
N: Scalar,
R: DimName,
DefaultAllocator: Allocator<N, R, Dynamic>,
<DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer == VecStorage<N, R, Dynamic>,
[src]
impl<N, R> ContiguousStorage<N, R, Dynamic> for VecStorage<N, R, Dynamic> where
N: Scalar,
R: DimName,
DefaultAllocator: Allocator<N, R, Dynamic>,
<DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer == VecStorage<N, R, Dynamic>,
impl<N, C> ContiguousStorage<N, Dynamic, C> for VecStorage<N, Dynamic, C> where
C: Dim,
N: Scalar,
DefaultAllocator: Allocator<N, Dynamic, C>,
<DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer == VecStorage<N, Dynamic, C>,
[src]
impl<N, C> ContiguousStorage<N, Dynamic, C> for VecStorage<N, Dynamic, C> where
C: Dim,
N: Scalar,
DefaultAllocator: Allocator<N, Dynamic, C>,
<DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer == VecStorage<N, Dynamic, C>,
impl<D> DimMax<Dynamic> for D where
D: DimName,
[src]
impl<D> DimMax<Dynamic> for D where
D: DimName,
impl<D> DimMax<D> for Dynamic where
D: Dim,
[src]
impl<D> DimMax<D> for Dynamic where
D: Dim,
impl<N, R> StorageMut<N, R, Dynamic> for VecStorage<N, R, Dynamic> where
N: Scalar,
R: DimName,
DefaultAllocator: Allocator<N, R, Dynamic>,
<DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer == VecStorage<N, R, Dynamic>,
[src]
impl<N, R> StorageMut<N, R, Dynamic> for VecStorage<N, R, Dynamic> where
N: Scalar,
R: DimName,
DefaultAllocator: Allocator<N, R, Dynamic>,
<DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer == VecStorage<N, R, Dynamic>,
fn ptr_mut(&mut self) -> *mut N
[src]
fn ptr_mut(&mut self) -> *mut N
fn as_mut_slice(&mut self) -> &mut [N]
[src]
fn as_mut_slice(&mut self) -> &mut [N]
unsafe fn get_address_unchecked_linear_mut(&mut self, i: usize) -> *mut N
[src]
unsafe fn get_address_unchecked_linear_mut(&mut self, i: usize) -> *mut N
Gets the mutable address of the i-th matrix component without performing bound-checking.
unsafe fn get_address_unchecked_mut(
&mut self,
irow: usize,
icol: usize
) -> *mut N
[src]
unsafe fn get_address_unchecked_mut(
&mut self,
irow: usize,
icol: usize
) -> *mut N
Gets the mutable address of the i-th matrix component without performing bound-checking.
unsafe fn get_unchecked_linear_mut(&mut self, i: usize) -> &mut N
[src]
unsafe fn get_unchecked_linear_mut(&mut self, i: usize) -> &mut N
Retrieves a mutable reference to the i-th element without bound-checking.
unsafe fn get_unchecked_mut(&mut self, irow: usize, icol: usize) -> &mut N
[src]
unsafe fn get_unchecked_mut(&mut self, irow: usize, icol: usize) -> &mut N
Retrieves a mutable reference to the element at (irow, icol)
without bound-checking.
unsafe fn swap_unchecked_linear(&mut self, i1: usize, i2: usize)
[src]
unsafe fn swap_unchecked_linear(&mut self, i1: usize, i2: usize)
Swaps two elements using their linear index without bound-checking.
unsafe fn swap_unchecked(
&mut self,
row_col1: (usize, usize),
row_col2: (usize, usize)
)
[src]
unsafe fn swap_unchecked(
&mut self,
row_col1: (usize, usize),
row_col2: (usize, usize)
)
Swaps two elements without bound-checking.
impl<N, C> StorageMut<N, Dynamic, C> for VecStorage<N, Dynamic, C> where
C: Dim,
N: Scalar,
DefaultAllocator: Allocator<N, Dynamic, C>,
<DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer == VecStorage<N, Dynamic, C>,
[src]
impl<N, C> StorageMut<N, Dynamic, C> for VecStorage<N, Dynamic, C> where
C: Dim,
N: Scalar,
DefaultAllocator: Allocator<N, Dynamic, C>,
<DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer == VecStorage<N, Dynamic, C>,
fn ptr_mut(&mut self) -> *mut N
[src]
fn ptr_mut(&mut self) -> *mut N
fn as_mut_slice(&mut self) -> &mut [N]
[src]
fn as_mut_slice(&mut self) -> &mut [N]
unsafe fn get_address_unchecked_linear_mut(&mut self, i: usize) -> *mut N
[src]
unsafe fn get_address_unchecked_linear_mut(&mut self, i: usize) -> *mut N
Gets the mutable address of the i-th matrix component without performing bound-checking.
unsafe fn get_address_unchecked_mut(
&mut self,
irow: usize,
icol: usize
) -> *mut N
[src]
unsafe fn get_address_unchecked_mut(
&mut self,
irow: usize,
icol: usize
) -> *mut N
Gets the mutable address of the i-th matrix component without performing bound-checking.
unsafe fn get_unchecked_linear_mut(&mut self, i: usize) -> &mut N
[src]
unsafe fn get_unchecked_linear_mut(&mut self, i: usize) -> &mut N
Retrieves a mutable reference to the i-th element without bound-checking.
unsafe fn get_unchecked_mut(&mut self, irow: usize, icol: usize) -> &mut N
[src]
unsafe fn get_unchecked_mut(&mut self, irow: usize, icol: usize) -> &mut N
Retrieves a mutable reference to the element at (irow, icol)
without bound-checking.
unsafe fn swap_unchecked_linear(&mut self, i1: usize, i2: usize)
[src]
unsafe fn swap_unchecked_linear(&mut self, i1: usize, i2: usize)
Swaps two elements using their linear index without bound-checking.
unsafe fn swap_unchecked(
&mut self,
row_col1: (usize, usize),
row_col2: (usize, usize)
)
[src]
unsafe fn swap_unchecked(
&mut self,
row_col1: (usize, usize),
row_col2: (usize, usize)
)
Swaps two elements without bound-checking.
impl IsDynamic for Dynamic
[src]
impl IsDynamic for Dynamic
impl<N, R> Storage<N, R, Dynamic> for VecStorage<N, R, Dynamic> where
N: Scalar,
R: DimName,
DefaultAllocator: Allocator<N, R, Dynamic>,
<DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer == VecStorage<N, R, Dynamic>,
[src]
impl<N, R> Storage<N, R, Dynamic> for VecStorage<N, R, Dynamic> where
N: Scalar,
R: DimName,
DefaultAllocator: Allocator<N, R, Dynamic>,
<DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer == VecStorage<N, R, Dynamic>,
type RStride = U1
The static stride of this storage's rows.
type CStride = R
The static stride of this storage's columns.
fn ptr(&self) -> *const N
[src]
fn ptr(&self) -> *const N
fn shape(&self) -> (R, Dynamic)
[src]
fn shape(&self) -> (R, Dynamic)
fn strides(
&self
) -> (<VecStorage<N, R, Dynamic> as Storage<N, R, Dynamic>>::RStride, <VecStorage<N, R, Dynamic> as Storage<N, R, Dynamic>>::CStride)
[src]
fn strides(
&self
) -> (<VecStorage<N, R, Dynamic> as Storage<N, R, Dynamic>>::RStride, <VecStorage<N, R, Dynamic> as Storage<N, R, Dynamic>>::CStride)
fn is_contiguous(&self) -> bool
[src]
fn is_contiguous(&self) -> bool
fn into_owned(self) -> <DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer where
DefaultAllocator: Allocator<N, R, Dynamic>,
[src]
fn into_owned(self) -> <DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer where
DefaultAllocator: Allocator<N, R, Dynamic>,
fn clone_owned(&self) -> <DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer where
DefaultAllocator: Allocator<N, R, Dynamic>,
[src]
fn clone_owned(&self) -> <DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer where
DefaultAllocator: Allocator<N, R, Dynamic>,
fn as_slice(&self) -> &[N]
[src]
fn as_slice(&self) -> &[N]
fn linear_index(&self, irow: usize, icol: usize) -> usize
[src]
fn linear_index(&self, irow: usize, icol: usize) -> usize
Compute the index corresponding to the irow-th row and icol-th column of this matrix. The index must be such that the following holds: Read more
unsafe fn get_address_unchecked_linear(&self, i: usize) -> *const N
[src]
unsafe fn get_address_unchecked_linear(&self, i: usize) -> *const N
Gets the address of the i-th matrix component without performing bound-checking.
unsafe fn get_address_unchecked(&self, irow: usize, icol: usize) -> *const N
[src]
unsafe fn get_address_unchecked(&self, irow: usize, icol: usize) -> *const N
Gets the address of the i-th matrix component without performing bound-checking.
unsafe fn get_unchecked_linear(&self, i: usize) -> &N
[src]
unsafe fn get_unchecked_linear(&self, i: usize) -> &N
Retrieves a reference to the i-th element without bound-checking.
unsafe fn get_unchecked(&self, irow: usize, icol: usize) -> &N
[src]
unsafe fn get_unchecked(&self, irow: usize, icol: usize) -> &N
Retrieves a reference to the i-th element without bound-checking.
impl<N, C> Storage<N, Dynamic, C> for VecStorage<N, Dynamic, C> where
C: Dim,
N: Scalar,
DefaultAllocator: Allocator<N, Dynamic, C>,
<DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer == VecStorage<N, Dynamic, C>,
[src]
impl<N, C> Storage<N, Dynamic, C> for VecStorage<N, Dynamic, C> where
C: Dim,
N: Scalar,
DefaultAllocator: Allocator<N, Dynamic, C>,
<DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer == VecStorage<N, Dynamic, C>,
type RStride = U1
The static stride of this storage's rows.
type CStride = Dynamic
The static stride of this storage's columns.
fn ptr(&self) -> *const N
[src]
fn ptr(&self) -> *const N
fn shape(&self) -> (Dynamic, C)
[src]
fn shape(&self) -> (Dynamic, C)
fn strides(
&self
) -> (<VecStorage<N, Dynamic, C> as Storage<N, Dynamic, C>>::RStride, <VecStorage<N, Dynamic, C> as Storage<N, Dynamic, C>>::CStride)
[src]
fn strides(
&self
) -> (<VecStorage<N, Dynamic, C> as Storage<N, Dynamic, C>>::RStride, <VecStorage<N, Dynamic, C> as Storage<N, Dynamic, C>>::CStride)
fn is_contiguous(&self) -> bool
[src]
fn is_contiguous(&self) -> bool
fn into_owned(self) -> <DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer where
DefaultAllocator: Allocator<N, Dynamic, C>,
[src]
fn into_owned(self) -> <DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer where
DefaultAllocator: Allocator<N, Dynamic, C>,
fn clone_owned(&self) -> <DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer where
DefaultAllocator: Allocator<N, Dynamic, C>,
[src]
fn clone_owned(&self) -> <DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer where
DefaultAllocator: Allocator<N, Dynamic, C>,
fn as_slice(&self) -> &[N]
[src]
fn as_slice(&self) -> &[N]
fn linear_index(&self, irow: usize, icol: usize) -> usize
[src]
fn linear_index(&self, irow: usize, icol: usize) -> usize
Compute the index corresponding to the irow-th row and icol-th column of this matrix. The index must be such that the following holds: Read more
unsafe fn get_address_unchecked_linear(&self, i: usize) -> *const N
[src]
unsafe fn get_address_unchecked_linear(&self, i: usize) -> *const N
Gets the address of the i-th matrix component without performing bound-checking.
unsafe fn get_address_unchecked(&self, irow: usize, icol: usize) -> *const N
[src]
unsafe fn get_address_unchecked(&self, irow: usize, icol: usize) -> *const N
Gets the address of the i-th matrix component without performing bound-checking.
unsafe fn get_unchecked_linear(&self, i: usize) -> &N
[src]
unsafe fn get_unchecked_linear(&self, i: usize) -> &N
Retrieves a reference to the i-th element without bound-checking.
unsafe fn get_unchecked(&self, irow: usize, icol: usize) -> &N
[src]
unsafe fn get_unchecked(&self, irow: usize, icol: usize) -> &N
Retrieves a reference to the i-th element without bound-checking.
impl Copy for Dynamic
[src]
impl Copy for Dynamic
impl<D> DimAdd<Dynamic> for D where
D: DimName,
[src]
impl<D> DimAdd<Dynamic> for D where
D: DimName,
impl<D> DimAdd<D> for Dynamic where
D: Dim,
[src]
impl<D> DimAdd<D> for Dynamic where
D: Dim,
impl Clone for Dynamic
[src]
impl Clone for Dynamic
fn clone(&self) -> Dynamic
[src]
fn clone(&self) -> Dynamic
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<D> DimSub<D> for Dynamic where
D: Dim,
[src]
impl<D> DimSub<D> for Dynamic where
D: Dim,
impl<D> DimSub<Dynamic> for D where
D: DimName,
[src]
impl<D> DimSub<Dynamic> for D where
D: DimName,
impl<N, C> ContiguousStorageMut<N, Dynamic, C> for VecStorage<N, Dynamic, C> where
C: Dim,
N: Scalar,
DefaultAllocator: Allocator<N, Dynamic, C>,
<DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer == VecStorage<N, Dynamic, C>,
[src]
impl<N, C> ContiguousStorageMut<N, Dynamic, C> for VecStorage<N, Dynamic, C> where
C: Dim,
N: Scalar,
DefaultAllocator: Allocator<N, Dynamic, C>,
<DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer == VecStorage<N, Dynamic, C>,
impl<N, R> ContiguousStorageMut<N, R, Dynamic> for VecStorage<N, R, Dynamic> where
N: Scalar,
R: DimName,
DefaultAllocator: Allocator<N, R, Dynamic>,
<DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer == VecStorage<N, R, Dynamic>,
[src]
impl<N, R> ContiguousStorageMut<N, R, Dynamic> for VecStorage<N, R, Dynamic> where
N: Scalar,
R: DimName,
DefaultAllocator: Allocator<N, R, Dynamic>,
<DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer == VecStorage<N, R, Dynamic>,
impl<D> SameDimension<D, Dynamic> for ShapeConstraint where
D: DimName,
[src]
impl<D> SameDimension<D, Dynamic> for ShapeConstraint where
D: DimName,
type Representative = D
This is either equal to D1
or D2
, always choosing the one (if any) which is a type-level constant. Read more
impl<D> SameDimension<Dynamic, D> for ShapeConstraint where
D: DimName,
[src]
impl<D> SameDimension<Dynamic, D> for ShapeConstraint where
D: DimName,
type Representative = D
This is either equal to D1
or D2
, always choosing the one (if any) which is a type-level constant. Read more
impl<D> DimEq<Dynamic, D> for ShapeConstraint where
D: DimName,
[src]
impl<D> DimEq<Dynamic, D> for ShapeConstraint where
D: DimName,
type Representative = D
This is either equal to D1
or D2
, always choosing the one (if any) which is a type-level constant. Read more
impl<D> DimEq<D, Dynamic> for ShapeConstraint where
D: DimName,
[src]
impl<D> DimEq<D, Dynamic> for ShapeConstraint where
D: DimName,
type Representative = D
This is either equal to D1
or D2
, always choosing the one (if any) which is a type-level constant. Read more
impl Debug for Dynamic
[src]
impl Debug for Dynamic
impl Dim for Dynamic
[src]
impl Dim for Dynamic
fn try_to_usize() -> Option<usize>
[src]
fn try_to_usize() -> Option<usize>
fn from_usize(dim: usize) -> Dynamic
[src]
fn from_usize(dim: usize) -> Dynamic
fn value(&self) -> usize
[src]
fn value(&self) -> usize
fn is<D>() -> bool where
D: Dim,
[src]
fn is<D>() -> bool where
D: Dim,
impl IsNotStaticOne for Dynamic
[src]
impl IsNotStaticOne for Dynamic
impl<D> DimMin<D> for Dynamic where
D: Dim,
[src]
impl<D> DimMin<D> for Dynamic where
D: Dim,
impl<D> DimMin<Dynamic> for D where
D: DimName,
[src]
impl<D> DimMin<Dynamic> for D where
D: DimName,
impl<'de> Deserialize<'de> for Dynamic
[src]
impl<'de> Deserialize<'de> for Dynamic
fn deserialize<D>(
deserializer: D
) -> Result<Dynamic, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(
deserializer: D
) -> Result<Dynamic, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
impl Serialize for Dynamic
[src]
impl Serialize for Dynamic
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
impl<N, C> Allocator<N, Dynamic, C> for DefaultAllocator where
C: Dim,
N: Scalar,
[src]
impl<N, C> Allocator<N, Dynamic, C> for DefaultAllocator where
C: Dim,
N: Scalar,
type Buffer = VecStorage<N, Dynamic, C>
The type of buffer this allocator can instanciate.
unsafe fn allocate_uninitialized(
nrows: Dynamic,
ncols: C
) -> <DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer
[src]
unsafe fn allocate_uninitialized(
nrows: Dynamic,
ncols: C
) -> <DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer
fn allocate_from_iterator<I>(
nrows: Dynamic,
ncols: C,
iter: I
) -> <DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer where
I: IntoIterator<Item = N>,
[src]
fn allocate_from_iterator<I>(
nrows: Dynamic,
ncols: C,
iter: I
) -> <DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer where
I: IntoIterator<Item = N>,
impl<N, R> Allocator<N, R, Dynamic> for DefaultAllocator where
N: Scalar,
R: DimName,
[src]
impl<N, R> Allocator<N, R, Dynamic> for DefaultAllocator where
N: Scalar,
R: DimName,
type Buffer = VecStorage<N, R, Dynamic>
The type of buffer this allocator can instanciate.
unsafe fn allocate_uninitialized(
nrows: R,
ncols: Dynamic
) -> <DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer
[src]
unsafe fn allocate_uninitialized(
nrows: R,
ncols: Dynamic
) -> <DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer
fn allocate_from_iterator<I>(
nrows: R,
ncols: Dynamic,
iter: I
) -> <DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer where
I: IntoIterator<Item = N>,
[src]
fn allocate_from_iterator<I>(
nrows: R,
ncols: Dynamic,
iter: I
) -> <DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer where
I: IntoIterator<Item = N>,
impl Add<usize> for Dynamic
[src]
impl Add<usize> for Dynamic
type Output = Dynamic
The resulting type after applying the +
operator.
fn add(self, rhs: usize) -> Dynamic
[src]
fn add(self, rhs: usize) -> Dynamic
impl<D> SameNumberOfColumns<Dynamic, D> for ShapeConstraint where
D: DimName,
[src]
impl<D> SameNumberOfColumns<Dynamic, D> for ShapeConstraint where
D: DimName,
type Representative = D
This is either equal to D1
or D2
, always choosing the one (if any) which is a type-level constant. Read more
impl<D> SameNumberOfColumns<D, Dynamic> for ShapeConstraint where
D: DimName,
[src]
impl<D> SameNumberOfColumns<D, Dynamic> for ShapeConstraint where
D: DimName,
type Representative = D
This is either equal to D1
or D2
, always choosing the one (if any) which is a type-level constant. Read more
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T> Any for T where
T: Any,
[src]
impl<T> Any for T where
T: Any,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T> SetParameter for T
[src]
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
[src]
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
impl<V> IntoVec for V
[src]
impl<V> IntoVec for V
impl<V> IntoPnt for V
[src]
impl<V> IntoPnt for V
impl<T> IntoPnt for T where
T: Scalar,
[src]
impl<T> IntoPnt for T where
T: Scalar,
impl<T> IntoPnt for T where
T: Scalar,
[src]
impl<T> IntoPnt for T where
T: Scalar,
impl<T> IntoPnt for T where
T: Scalar,
[src]
impl<T> IntoPnt for T where
T: Scalar,
impl<T> Scalar for T where
T: Copy + PartialEq<T> + Any + Debug,
[src]
impl<T> Scalar for T where
T: Copy + PartialEq<T> + Any + Debug,
impl<D> DimAdd for D where
D: DimName,
[src]
impl<D> DimAdd for D where
D: DimName,
impl<D1, D2> DimAdd for D1 where
D1: DimName,
D2: DimName,
<D1 as DimName>::Value: Add<<D2 as DimName>::Value>,
<<D1 as DimName>::Value as Add<<D2 as DimName>::Value>>::Output: NamedDim,
[src]
impl<D1, D2> DimAdd for D1 where
D1: DimName,
D2: DimName,
<D1 as DimName>::Value: Add<<D2 as DimName>::Value>,
<<D1 as DimName>::Value as Add<<D2 as DimName>::Value>>::Output: NamedDim,
type Output = <<<D1 as DimName>::Value as Add<<D2 as DimName>::Value>>::Output as NamedDim>::Name
fn add(self, D2) -> <D1 as DimAdd<D2>>::Output
[src]
fn add(self, D2) -> <D1 as DimAdd<D2>>::Output
impl<D> DimMul for D where
D: DimName,
[src]
impl<D> DimMul for D where
D: DimName,
impl<D1, D2> DimMul for D1 where
D1: DimName,
D2: DimName,
<D1 as DimName>::Value: Mul<<D2 as DimName>::Value>,
<<D1 as DimName>::Value as Mul<<D2 as DimName>::Value>>::Output: NamedDim,
[src]
impl<D1, D2> DimMul for D1 where
D1: DimName,
D2: DimName,
<D1 as DimName>::Value: Mul<<D2 as DimName>::Value>,
<<D1 as DimName>::Value as Mul<<D2 as DimName>::Value>>::Output: NamedDim,
type Output = <<<D1 as DimName>::Value as Mul<<D2 as DimName>::Value>>::Output as NamedDim>::Name
fn mul(self, D2) -> <D1 as DimMul<D2>>::Output
[src]
fn mul(self, D2) -> <D1 as DimMul<D2>>::Output
impl<D> DimSub for D where
D: DimName,
[src]
impl<D> DimSub for D where
D: DimName,
impl<D1, D2> DimSub for D1 where
D1: DimName,
D2: DimName,
<D1 as DimName>::Value: Sub<<D2 as DimName>::Value>,
<<D1 as DimName>::Value as Sub<<D2 as DimName>::Value>>::Output: NamedDim,
[src]
impl<D1, D2> DimSub for D1 where
D1: DimName,
D2: DimName,
<D1 as DimName>::Value: Sub<<D2 as DimName>::Value>,
<<D1 as DimName>::Value as Sub<<D2 as DimName>::Value>>::Output: NamedDim,
type Output = <<<D1 as DimName>::Value as Sub<<D2 as DimName>::Value>>::Output as NamedDim>::Name
fn sub(self, D2) -> <D1 as DimSub<D2>>::Output
[src]
fn sub(self, D2) -> <D1 as DimSub<D2>>::Output
impl<D1, D2> DimDiv for D1 where
D1: DimName,
D2: DimName,
<D1 as DimName>::Value: Div<<D2 as DimName>::Value>,
<<D1 as DimName>::Value as Div<<D2 as DimName>::Value>>::Output: NamedDim,
[src]
impl<D1, D2> DimDiv for D1 where
D1: DimName,
D2: DimName,
<D1 as DimName>::Value: Div<<D2 as DimName>::Value>,
<<D1 as DimName>::Value as Div<<D2 as DimName>::Value>>::Output: NamedDim,
type Output = <<<D1 as DimName>::Value as Div<<D2 as DimName>::Value>>::Output as NamedDim>::Name
fn div(self, D2) -> <D1 as DimDiv<D2>>::Output
[src]
fn div(self, D2) -> <D1 as DimDiv<D2>>::Output
impl<D> DimDiv for D where
D: DimName,
[src]
impl<D> DimDiv for D where
D: DimName,
impl<D1, D2> DimMin for D1 where
D1: DimName,
D2: DimName,
<D1 as DimName>::Value: Min<<D2 as DimName>::Value>,
<<D1 as DimName>::Value as Min<<D2 as DimName>::Value>>::Output: NamedDim,
[src]
impl<D1, D2> DimMin for D1 where
D1: DimName,
D2: DimName,
<D1 as DimName>::Value: Min<<D2 as DimName>::Value>,
<<D1 as DimName>::Value as Min<<D2 as DimName>::Value>>::Output: NamedDim,
type Output = <<<D1 as DimName>::Value as Min<<D2 as DimName>::Value>>::Output as NamedDim>::Name
fn min(self, D2) -> <D1 as DimMin<D2>>::Output
[src]
fn min(self, D2) -> <D1 as DimMin<D2>>::Output
impl<D> DimMin for D where
D: DimName,
[src]
impl<D> DimMin for D where
D: DimName,
impl<D> DimMax for D where
D: DimName,
[src]
impl<D> DimMax for D where
D: DimName,
impl<D1, D2> DimMax for D1 where
D1: DimName,
D2: DimName,
<D1 as DimName>::Value: Max<<D2 as DimName>::Value>,
<<D1 as DimName>::Value as Max<<D2 as DimName>::Value>>::Output: NamedDim,
[src]
impl<D1, D2> DimMax for D1 where
D1: DimName,
D2: DimName,
<D1 as DimName>::Value: Max<<D2 as DimName>::Value>,
<<D1 as DimName>::Value as Max<<D2 as DimName>::Value>>::Output: NamedDim,
type Output = <<<D1 as DimName>::Value as Max<<D2 as DimName>::Value>>::Output as NamedDim>::Name
fn max(self, D2) -> <D1 as DimMax<D2>>::Output
[src]
fn max(self, D2) -> <D1 as DimMax<D2>>::Output
impl<T> Same for T
[src]
impl<T> Same for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf for SP where
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
[src]
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
[src]
fn is_in_subset(&self) -> bool
unsafe fn to_subset_unchecked(&self) -> SS
[src]
unsafe fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
[src]
fn from_subset(element: &SS) -> SP