Struct generic_arrayvec::plumbing::ArrayvecStorageRaw
source · [−]#[repr(transparent)]pub struct ArrayvecStorageRaw<T, N, I>(pub GenericArray<T, N>, _)
where
N: ArrayLength<T>;
Tuple Fields
0: GenericArray<T, N>
Implementations
sourceimpl<T, N, I> ArrayvecStorageRaw<T, N, I> where
N: ArrayLength<T>,
impl<T, N, I> ArrayvecStorageRaw<T, N, I> where
N: ArrayLength<T>,
sourcepub fn new(arr: GenericArray<T, N>) -> Self
pub fn new(arr: GenericArray<T, N>) -> Self
Wraps the given GenericArray
into a new Wrapper
.
sourcepub fn into_inner(self) -> GenericArray<T, N>
pub fn into_inner(self) -> GenericArray<T, N>
Returns the inner GenericArray
inside this Wrapper
Trait Implementations
sourceimpl<T, N> Array for ArrayvecStorageRaw<T, N, u16> where
N: ArrayLength<T> + IsLess<U65536>,
<N as IsLess<U65536>>::Output: IsTrue,
impl<T, N> Array for ArrayvecStorageRaw<T, N, u16> where
N: ArrayLength<T> + IsLess<U65536>,
<N as IsLess<U65536>>::Output: IsTrue,
sourceimpl<T, N> Array for ArrayvecStorageRaw<T, N, u32> where
N: ArrayLength<T> + IsLess<U4294967296>,
<N as IsLess<U4294967296>>::Output: IsTrue,
impl<T, N> Array for ArrayvecStorageRaw<T, N, u32> where
N: ArrayLength<T> + IsLess<U4294967296>,
<N as IsLess<U4294967296>>::Output: IsTrue,
sourceimpl<T, N> Array for ArrayvecStorageRaw<T, N, u8> where
N: ArrayLength<T> + IsLess<U256>,
<N as IsLess<U256>>::Output: IsTrue,
impl<T, N> Array for ArrayvecStorageRaw<T, N, u8> where
N: ArrayLength<T> + IsLess<U256>,
<N as IsLess<U256>>::Output: IsTrue,
sourceimpl<T, N> Array for ArrayvecStorageRaw<T, N, usize> where
N: ArrayLength<T>,
impl<T, N> Array for ArrayvecStorageRaw<T, N, usize> where
N: ArrayLength<T>,
sourceimpl<T> Array for ArrayvecStorageRaw<T, U0, ()>
impl<T> Array for ArrayvecStorageRaw<T, U0, ()>
sourceimpl<T> Array for ArrayvecStorageRaw<T, U1, bool>
impl<T> Array for ArrayvecStorageRaw<T, U1, bool>
sourceimpl<T: Clone, N: Clone, I: Clone> Clone for ArrayvecStorageRaw<T, N, I> where
N: ArrayLength<T>,
impl<T: Clone, N: Clone, I: Clone> Clone for ArrayvecStorageRaw<T, N, I> where
N: ArrayLength<T>,
sourcefn clone(&self) -> ArrayvecStorageRaw<T, N, I>
fn clone(&self) -> ArrayvecStorageRaw<T, N, I>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<T: Debug, N: Debug, I: Debug> Debug for ArrayvecStorageRaw<T, N, I> where
N: ArrayLength<T>,
impl<T: Debug, N: Debug, I: Debug> Debug for ArrayvecStorageRaw<T, N, I> where
N: ArrayLength<T>,
sourceimpl<T, N, I> From<ArrayvecStorageRaw<T, N, I>> for GenericArray<T, N> where
N: ArrayLength<T>,
impl<T, N, I> From<ArrayvecStorageRaw<T, N, I>> for GenericArray<T, N> where
N: ArrayLength<T>,
sourcefn from(wrapper: ArrayvecStorageRaw<T, N, I>) -> Self
fn from(wrapper: ArrayvecStorageRaw<T, N, I>) -> Self
Converts to this type from the input type.
sourceimpl<T, N, I> From<GenericArray<T, N>> for ArrayvecStorageRaw<T, N, I> where
N: ArrayLength<T>,
impl<T, N, I> From<GenericArray<T, N>> for ArrayvecStorageRaw<T, N, I> where
N: ArrayLength<T>,
sourcefn from(arr: GenericArray<T, N>) -> Self
fn from(arr: GenericArray<T, N>) -> Self
Converts to this type from the input type.
impl<T, N, I> Copy for ArrayvecStorageRaw<T, N, I> where
T: Copy,
N: ArrayLength<T>,
N::ArrayType: Copy,
I: Copy,
Auto Trait Implementations
impl<T, N, I> RefUnwindSafe for ArrayvecStorageRaw<T, N, I> where
I: RefUnwindSafe,
<N as ArrayLength<T>>::ArrayType: RefUnwindSafe,
impl<T, N, I> Send for ArrayvecStorageRaw<T, N, I> where
I: Send,
T: Send,
impl<T, N, I> Sync for ArrayvecStorageRaw<T, N, I> where
I: Sync,
T: Sync,
impl<T, N, I> Unpin for ArrayvecStorageRaw<T, N, I> where
I: Unpin,
<N as ArrayLength<T>>::ArrayType: Unpin,
impl<T, N, I> UnwindSafe for ArrayvecStorageRaw<T, N, I> where
I: UnwindSafe,
<N as ArrayLength<T>>::ArrayType: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more