Struct generic_arrayvec::Wrapper [−][src]
pub struct Wrapper<T, N>(pub GenericArray<T, N>)
where
N: ArrayLength<T>;
Expand description
A wrapper around a GenericArray
that implements the Array
trait from the arrayvec
crate, allowing it to be used as the backing store for ArrayVec
and ArrayString
.
You probably don’t need to use this type directly; just use the constructors provided by the
GenericArrayVecExt
and GenericArrayStringExt
traits.
Tuple Fields
0: GenericArray<T, N>
Implementations
Returns the inner GenericArray
inside this Wrapper
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl<T, N> RefUnwindSafe for Wrapper<T, N> where
<N as ArrayLength<T>>::ArrayType: RefUnwindSafe,
impl<T, N> Unpin for Wrapper<T, N> where
<N as ArrayLength<T>>::ArrayType: Unpin,
impl<T, N> UnwindSafe for Wrapper<T, N> where
<N as ArrayLength<T>>::ArrayType: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self