#[repr(transparent)]pub struct ArrayvecStorageRaw<T, N, I>(pub GenericArray<T, N>, _)
where
N: ArrayLength<T>;
Tuple Fields§
§0: GenericArray<T, N>
Implementations§
Source§impl<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§
Source§impl<T, N> Array for ArrayvecStorageRaw<T, N, u16>
impl<T, N> Array for ArrayvecStorageRaw<T, N, u16>
Source§impl<T, N> Array for ArrayvecStorageRaw<T, N, u32>
impl<T, N> Array for ArrayvecStorageRaw<T, N, u32>
Source§impl<T, N> Array for ArrayvecStorageRaw<T, N, u8>
impl<T, N> Array for ArrayvecStorageRaw<T, N, u8>
Source§impl<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>,
Source§impl<T: Clone, N, I: Clone> Clone for ArrayvecStorageRaw<T, N, I>where
N: ArrayLength<T> + Clone,
impl<T: Clone, N, I: Clone> Clone for ArrayvecStorageRaw<T, N, I>where
N: ArrayLength<T> + Clone,
Source§fn clone(&self) -> ArrayvecStorageRaw<T, N, I>
fn clone(&self) -> ArrayvecStorageRaw<T, N, I>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Debug, N, I: Debug> Debug for ArrayvecStorageRaw<T, N, I>where
N: ArrayLength<T> + Debug,
impl<T: Debug, N, I: Debug> Debug for ArrayvecStorageRaw<T, N, I>where
N: ArrayLength<T> + Debug,
Source§impl<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>,
Source§fn from(wrapper: ArrayvecStorageRaw<T, N, I>) -> Self
fn from(wrapper: ArrayvecStorageRaw<T, N, I>) -> Self
Converts to this type from the input type.
Source§impl<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>,
Source§fn 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>
Auto Trait Implementations§
impl<T, N, I> Freeze for ArrayvecStorageRaw<T, N, I>
impl<T, N, I> RefUnwindSafe for ArrayvecStorageRaw<T, N, I>
impl<T, N, I> Send for ArrayvecStorageRaw<T, N, I>
impl<T, N, I> Sync for ArrayvecStorageRaw<T, N, I>
impl<T, N, I> Unpin for ArrayvecStorageRaw<T, N, I>
impl<T, N, I> UnwindSafe for ArrayvecStorageRaw<T, N, I>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more