Struct generic_arrayvec::Wrapper[][src]

pub struct Wrapper<T, N>(pub GenericArray<T, N>)
where
    N: ArrayLength<T>
;

A wrapper around a GenericArray that implements the Array trait, allowing it to be used as the backing store for ArrayVec and ArrayString.

You don't need to use this type directly; it's used by other functions in this crate internally.

Methods

impl<T, N> Wrapper<T, N> where
    N: ArrayLength<T>, 
[src]

Returns the inner GenericArray inside this Wrapper

Trait Implementations

impl<T: Debug, N: Debug> Debug for Wrapper<T, N> where
    N: ArrayLength<T>, 
[src]

Formats the value using the given formatter. Read more

impl<T, N> Array for Wrapper<T, N> where
    N: ArrayLength<T>, 
[src]

The array’s element type

impl<T, N> From<GenericArray<T, N>> for Wrapper<T, N> where
    N: ArrayLength<T>, 
[src]

Performs the conversion.

impl<T, N> Into<GenericArray<T, N>> for Wrapper<T, N> where
    N: ArrayLength<T>, 
[src]

Performs the conversion.

Auto Trait Implementations

impl<T, N> Send for Wrapper<T, N> where
    T: Send

impl<T, N> Sync for Wrapper<T, N> where
    T: Sync