Struct lnkit::prelude::base::Dynamic[][src]

pub struct Dynamic { /* fields omitted */ }

Dim of dynamically-sized algebraic entities.

Implementations

impl Dynamic[src]

pub fn new(value: usize) -> Dynamic[src]

A dynamic size equal to value.

Trait Implementations

impl Add<usize> for Dynamic[src]

type Output = Dynamic

The resulting type after applying the + operator.

impl<T, C> Allocator<T, Dynamic, C> for DefaultAllocator where
    C: Dim,
    T: Scalar
[src]

type Buffer = VecStorage<T, Dynamic, C>

The type of buffer this allocator can instanciate.

impl<T, R> Allocator<T, R, Dynamic> for DefaultAllocator where
    T: Scalar,
    R: DimName
[src]

type Buffer = VecStorage<T, R, Dynamic>

The type of buffer this allocator can instanciate.

impl Clone for Dynamic[src]

impl<T, C> ContiguousStorage<T, Dynamic, C> for VecStorage<T, Dynamic, C> where
    C: Dim,
    T: Scalar,
    DefaultAllocator: Allocator<T, Dynamic, C>,
    <DefaultAllocator as Allocator<T, Dynamic, C>>::Buffer == VecStorage<T, Dynamic, C>, 
[src]

impl<T, R> ContiguousStorage<T, R, Dynamic> for VecStorage<T, R, Dynamic> where
    T: Scalar,
    R: DimName,
    DefaultAllocator: Allocator<T, R, Dynamic>,
    <DefaultAllocator as Allocator<T, R, Dynamic>>::Buffer == VecStorage<T, R, Dynamic>, 
[src]

impl<T, C> ContiguousStorageMut<T, Dynamic, C> for VecStorage<T, Dynamic, C> where
    C: Dim,
    T: Scalar,
    DefaultAllocator: Allocator<T, Dynamic, C>,
    <DefaultAllocator as Allocator<T, Dynamic, C>>::Buffer == VecStorage<T, Dynamic, C>, 
[src]

impl<T, R> ContiguousStorageMut<T, R, Dynamic> for VecStorage<T, R, Dynamic> where
    T: Scalar,
    R: DimName,
    DefaultAllocator: Allocator<T, R, Dynamic>,
    <DefaultAllocator as Allocator<T, R, Dynamic>>::Buffer == VecStorage<T, R, Dynamic>, 
[src]

impl Copy for Dynamic[src]

impl Debug for Dynamic[src]

impl<'de> Deserialize<'de> for Dynamic[src]

impl Dim for Dynamic[src]

impl<D> DimAdd<D> for Dynamic where
    D: Dim
[src]

type Output = Dynamic

impl<D> DimAdd<Dynamic> for D where
    D: DimName
[src]

type Output = Dynamic

impl<D> DimDiv<D> for Dynamic where
    D: Dim
[src]

type Output = Dynamic

impl<D> DimDiv<Dynamic> for D where
    D: DimName
[src]

type Output = Dynamic

impl<D> DimEq<D, Dynamic> for ShapeConstraint where
    D: DimName
[src]

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]

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> DimMax<D> for Dynamic where
    D: Dim
[src]

type Output = Dynamic

impl<D> DimMax<Dynamic> for D where
    D: DimName
[src]

type Output = Dynamic

impl<D> DimMin<D> for Dynamic where
    D: Dim
[src]

type Output = Dynamic

impl<D> DimMin<Dynamic> for D where
    D: DimName
[src]

type Output = Dynamic

impl<D> DimMul<D> for Dynamic where
    D: Dim
[src]

type Output = Dynamic

impl<D> DimMul<Dynamic> for D where
    D: DimName
[src]

type Output = Dynamic

impl<D> DimSub<D> for Dynamic where
    D: Dim
[src]

type Output = Dynamic

impl<D> DimSub<Dynamic> for D where
    D: DimName
[src]

type Output = Dynamic

impl Eq for Dynamic[src]

impl IsDynamic for Dynamic[src]

impl IsNotStaticOne for Dynamic[src]

impl PartialEq<Dynamic> for Dynamic[src]

impl<T, CTo, const RFROM: usize, const CFROM: usize> Reallocator<T, Const<RFROM>, Const<CFROM>, Dynamic, CTo> for DefaultAllocator where
    T: Scalar,
    CTo: Dim
[src]

impl<T, RTo, const RFROM: usize, const CFROM: usize> Reallocator<T, Const<RFROM>, Const<CFROM>, RTo, Dynamic> for DefaultAllocator where
    T: Scalar,
    RTo: DimName
[src]

impl<T, CFrom, CTo> Reallocator<T, Dynamic, CFrom, Dynamic, CTo> for DefaultAllocator where
    T: Scalar,
    CTo: Dim,
    CFrom: Dim
[src]

impl<T, CFrom, RTo> Reallocator<T, Dynamic, CFrom, RTo, Dynamic> for DefaultAllocator where
    T: Scalar,
    RTo: DimName,
    CFrom: Dim
[src]

impl<T, RFrom, CTo> Reallocator<T, RFrom, Dynamic, Dynamic, CTo> for DefaultAllocator where
    T: Scalar,
    CTo: Dim,
    RFrom: DimName
[src]

impl<T, RFrom, RTo> Reallocator<T, RFrom, Dynamic, RTo, Dynamic> for DefaultAllocator where
    T: Scalar,
    RTo: DimName,
    RFrom: DimName
[src]

impl<T, C1, C2> ReshapableStorage<T, Dynamic, C1, Dynamic, C2> for VecStorage<T, Dynamic, C1> where
    T: Scalar,
    C2: Dim,
    C1: Dim
[src]

type Output = VecStorage<T, Dynamic, C2>

The reshaped storage type.

impl<T, C1, R2> ReshapableStorage<T, Dynamic, C1, R2, Dynamic> for VecStorage<T, Dynamic, C1> where
    T: Scalar,
    R2: DimName,
    C1: Dim
[src]

type Output = VecStorage<T, R2, Dynamic>

The reshaped storage type.

impl<T, R1, C2> ReshapableStorage<T, R1, Dynamic, Dynamic, C2> for VecStorage<T, R1, Dynamic> where
    T: Scalar,
    R1: DimName,
    C2: Dim
[src]

type Output = VecStorage<T, Dynamic, C2>

The reshaped storage type.

impl<T, R1, R2> ReshapableStorage<T, R1, Dynamic, R2, Dynamic> for VecStorage<T, R1, Dynamic> where
    T: Scalar,
    R1: DimName,
    R2: DimName
[src]

type Output = VecStorage<T, R2, Dynamic>

The reshaped storage type.

impl<D> SameDimension<D, Dynamic> for ShapeConstraint where
    D: DimName
[src]

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]

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]

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<Dynamic, D> for ShapeConstraint where
    D: DimName
[src]

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]

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<Dynamic, D> for ShapeConstraint where
    D: DimName
[src]

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 Serialize for Dynamic[src]

impl<T, C> Storage<T, Dynamic, C> for VecStorage<T, Dynamic, C> where
    C: Dim,
    T: Scalar,
    DefaultAllocator: Allocator<T, Dynamic, C>,
    <DefaultAllocator as Allocator<T, Dynamic, C>>::Buffer == VecStorage<T, Dynamic, C>, 
[src]

type RStride = Const<1_usize>

The static stride of this storage’s rows.

type CStride = Dynamic

The static stride of this storage’s columns.

impl<T, R> Storage<T, R, Dynamic> for VecStorage<T, R, Dynamic> where
    T: Scalar,
    R: DimName,
    DefaultAllocator: Allocator<T, R, Dynamic>,
    <DefaultAllocator as Allocator<T, R, Dynamic>>::Buffer == VecStorage<T, R, Dynamic>, 
[src]

type RStride = Const<1_usize>

The static stride of this storage’s rows.

type CStride = R

The static stride of this storage’s columns.

impl<T, C> StorageMut<T, Dynamic, C> for VecStorage<T, Dynamic, C> where
    C: Dim,
    T: Scalar,
    DefaultAllocator: Allocator<T, Dynamic, C>,
    <DefaultAllocator as Allocator<T, Dynamic, C>>::Buffer == VecStorage<T, Dynamic, C>, 
[src]

impl<T, R> StorageMut<T, R, Dynamic> for VecStorage<T, R, Dynamic> where
    T: Scalar,
    R: DimName,
    DefaultAllocator: Allocator<T, R, Dynamic>,
    <DefaultAllocator as Allocator<T, R, Dynamic>>::Buffer == VecStorage<T, R, Dynamic>, 
[src]

impl StructuralEq for Dynamic[src]

impl StructuralPartialEq for Dynamic[src]

impl Sub<usize> for Dynamic[src]

type Output = Dynamic

The resulting type after applying the - operator.

Auto Trait Implementations

impl RefUnwindSafe for Dynamic

impl Send for Dynamic

impl Sync for Dynamic

impl Unpin for Dynamic

impl UnwindSafe for Dynamic

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<D> DimAdd<Dynamic> for D where
    D: DimName
[src]

type Output = Dynamic

impl<D> DimDiv<Dynamic> for D where
    D: DimName
[src]

type Output = Dynamic

impl<D> DimMax<Dynamic> for D where
    D: DimName
[src]

type Output = Dynamic

impl<D> DimMin<Dynamic> for D where
    D: DimName
[src]

type Output = Dynamic

impl<D> DimMul<Dynamic> for D where
    D: DimName
[src]

type Output = Dynamic

impl<D> DimSub<Dynamic> for D where
    D: DimName
[src]

type Output = Dynamic

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Any + Send + Sync

impl<T> From<T> for T[src]

impl<T> FromBits<T> for T

impl<T> FromCast<T> for T

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> IntoBits<U> for T where
    U: FromBits<T>, 

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Scalar for T where
    T: Copy + PartialEq<T> + Debug + Any
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,