[][src]Struct generic_arrayvec::Wrapper

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]

pub fn into_inner(self) -> GenericArray<T, N>[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]

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

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

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

type Item = T

The array’s element type

type Index = usize

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

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From for T[src]

impl<T, U> TryInto 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<T> Borrow for T where
    T: ?Sized
[src]

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

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

impl<T> Same for T

type Output = T

Should always be Self