Struct lnkit::prelude::base::default_allocator::DefaultAllocator[][src]

pub struct DefaultAllocator;

An allocator based on GenericArray and VecStorage for statically-sized and dynamically-sized matrices respectively.

Trait Implementations

impl<T, const R: usize, const C: usize> Allocator<T, Const<R>, Const<C>> for DefaultAllocator where
    T: Scalar
[src]

type Buffer = ArrayStorage<T, R, C>

The type of buffer this allocator can instanciate.

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<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, CFrom, const RTO: usize, const CTO: usize> Reallocator<T, RFrom, CFrom, Const<RTO>, Const<CTO>> for DefaultAllocator where
    T: Scalar,
    RFrom: Dim,
    CFrom: Dim,
    DefaultAllocator: Allocator<T, RFrom, CFrom>, 
[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, R1, R2, C1, C2> SameShapeAllocator<T, R1, C1, R2, C2> for DefaultAllocator where
    T: Scalar,
    R1: Dim,
    R2: Dim,
    C2: Dim,
    C1: Dim,
    DefaultAllocator: Allocator<T, R1, C1>,
    DefaultAllocator: Allocator<T, <ShapeConstraint as SameNumberOfRows<R1, R2>>::Representative, <ShapeConstraint as SameNumberOfColumns<C1, C2>>::Representative>,
    ShapeConstraint: SameNumberOfRows<R1, R2>,
    ShapeConstraint: SameNumberOfColumns<C1, C2>, 
[src]

impl<T, R1, R2> SameShapeVectorAllocator<T, R1, R2> for DefaultAllocator where
    T: Scalar,
    R1: Dim,
    R2: Dim,
    DefaultAllocator: Allocator<T, R1, Const<1_usize>>,
    DefaultAllocator: Allocator<T, <ShapeConstraint as SameNumberOfRows<R1, R2>>::Representative, Const<1_usize>>,
    ShapeConstraint: SameNumberOfRows<R1, R2>, 
[src]

Auto Trait Implementations

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> 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<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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>,