Struct skein_hash::GenericArray [−]
#[repr(transparent)]pub struct GenericArray<T, U> where
U: ArrayLength<T>, { /* fields omitted */ }
Expand description
Struct representing a generic array - GenericArray<T, N>
works like [T; N]
Implementations
impl<T, N> GenericArray<T, N> where
N: ArrayLength<T>,
impl<T, N> GenericArray<T, N> where
N: ArrayLength<T>,
pub fn as_slice(&self) -> &[T]
pub fn as_slice(&self) -> &[T]
Extracts a slice containing the entire array.
pub fn as_mut_slice(&mut self) -> &mut [T]
pub fn as_mut_slice(&mut self) -> &mut [T]
Extracts a mutable slice containing the entire array.
pub fn from_slice(slice: &[T]) -> &GenericArray<T, N>
pub fn from_slice(slice: &[T]) -> &GenericArray<T, N>
Converts slice to a generic array reference with inferred length;
Length of the slice must be equal to the length of the array.
pub fn from_mut_slice(slice: &mut [T]) -> &mut GenericArray<T, N>
pub fn from_mut_slice(slice: &mut [T]) -> &mut GenericArray<T, N>
Converts mutable slice to a mutable generic array reference
Length of the slice must be equal to the length of the array.
impl<T, N> GenericArray<T, N> where
N: ArrayLength<T>,
T: Clone,
impl<T, N> GenericArray<T, N> where
N: ArrayLength<T>,
T: Clone,
pub fn clone_from_slice(list: &[T]) -> GenericArray<T, N>
pub fn clone_from_slice(list: &[T]) -> GenericArray<T, N>
Construct a GenericArray
from a slice by cloning its content
Length of the slice must be equal to the length of the array
impl<T, N> GenericArray<T, N> where
N: ArrayLength<T>,
impl<T, N> GenericArray<T, N> where
N: ArrayLength<T>,
pub fn from_exact_iter<I>(iter: I) -> Option<GenericArray<T, N>> where
I: IntoIterator<Item = T>,
pub fn from_exact_iter<I>(iter: I) -> Option<GenericArray<T, N>> where
I: IntoIterator<Item = T>,
Creates a new GenericArray
instance from an iterator with a specific size.
Returns None
if the size is not equal to the number of elements in the GenericArray
.
Trait Implementations
impl<T> AsMut<[T; 1]> for GenericArray<T, UInt<UTerm, B1>>
impl<T> AsMut<[T; 1]> for GenericArray<T, UInt<UTerm, B1>>
pub fn as_mut(&mut self) -> &mut [T; 1]
pub fn as_mut(&mut self) -> &mut [T; 1]
Performs the conversion.
impl<T> AsMut<[T; 10]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>
impl<T> AsMut<[T; 10]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>
pub fn as_mut(&mut self) -> &mut [T; 10]
pub fn as_mut(&mut self) -> &mut [T; 10]
Performs the conversion.
impl<T> AsMut<[T; 11]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>>
impl<T> AsMut<[T; 11]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>>
pub fn as_mut(&mut self) -> &mut [T; 11]
pub fn as_mut(&mut self) -> &mut [T; 11]
Performs the conversion.
impl<T> AsMut<[T; 12]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>
impl<T> AsMut<[T; 12]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>
pub fn as_mut(&mut self) -> &mut [T; 12]
pub fn as_mut(&mut self) -> &mut [T; 12]
Performs the conversion.
impl<T> AsMut<[T; 13]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>>
impl<T> AsMut<[T; 13]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>>
pub fn as_mut(&mut self) -> &mut [T; 13]
pub fn as_mut(&mut self) -> &mut [T; 13]
Performs the conversion.
impl<T> AsMut<[T; 14]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>>
impl<T> AsMut<[T; 14]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>>
pub fn as_mut(&mut self) -> &mut [T; 14]
pub fn as_mut(&mut self) -> &mut [T; 14]
Performs the conversion.
impl<T> AsMut<[T; 15]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>>
impl<T> AsMut<[T; 15]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>>
pub fn as_mut(&mut self) -> &mut [T; 15]
pub fn as_mut(&mut self) -> &mut [T; 15]
Performs the conversion.
impl<T> AsMut<[T; 16]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>
impl<T> AsMut<[T; 16]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>
pub fn as_mut(&mut self) -> &mut [T; 16]
pub fn as_mut(&mut self) -> &mut [T; 16]
Performs the conversion.
impl<T> AsMut<[T; 17]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>>
impl<T> AsMut<[T; 17]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>>
pub fn as_mut(&mut self) -> &mut [T; 17]
pub fn as_mut(&mut self) -> &mut [T; 17]
Performs the conversion.
impl<T> AsMut<[T; 18]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>>
impl<T> AsMut<[T; 18]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>>
pub fn as_mut(&mut self) -> &mut [T; 18]
pub fn as_mut(&mut self) -> &mut [T; 18]
Performs the conversion.
impl<T> AsMut<[T; 19]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>>
impl<T> AsMut<[T; 19]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>>
pub fn as_mut(&mut self) -> &mut [T; 19]
pub fn as_mut(&mut self) -> &mut [T; 19]
Performs the conversion.
impl<T> AsMut<[T; 2]> for GenericArray<T, UInt<UInt<UTerm, B1>, B0>>
impl<T> AsMut<[T; 2]> for GenericArray<T, UInt<UInt<UTerm, B1>, B0>>
pub fn as_mut(&mut self) -> &mut [T; 2]
pub fn as_mut(&mut self) -> &mut [T; 2]
Performs the conversion.
impl<T> AsMut<[T; 20]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>>
impl<T> AsMut<[T; 20]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>>
pub fn as_mut(&mut self) -> &mut [T; 20]
pub fn as_mut(&mut self) -> &mut [T; 20]
Performs the conversion.
impl<T> AsMut<[T; 21]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>>
impl<T> AsMut<[T; 21]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>>
pub fn as_mut(&mut self) -> &mut [T; 21]
pub fn as_mut(&mut self) -> &mut [T; 21]
Performs the conversion.
impl<T> AsMut<[T; 22]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>>
impl<T> AsMut<[T; 22]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>>
pub fn as_mut(&mut self) -> &mut [T; 22]
pub fn as_mut(&mut self) -> &mut [T; 22]
Performs the conversion.
impl<T> AsMut<[T; 23]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>>
impl<T> AsMut<[T; 23]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>>
pub fn as_mut(&mut self) -> &mut [T; 23]
pub fn as_mut(&mut self) -> &mut [T; 23]
Performs the conversion.
impl<T> AsMut<[T; 24]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>
impl<T> AsMut<[T; 24]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>
pub fn as_mut(&mut self) -> &mut [T; 24]
pub fn as_mut(&mut self) -> &mut [T; 24]
Performs the conversion.
impl<T> AsMut<[T; 25]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>>
impl<T> AsMut<[T; 25]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>>
pub fn as_mut(&mut self) -> &mut [T; 25]
pub fn as_mut(&mut self) -> &mut [T; 25]
Performs the conversion.
impl<T> AsMut<[T; 26]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>>
impl<T> AsMut<[T; 26]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>>
pub fn as_mut(&mut self) -> &mut [T; 26]
pub fn as_mut(&mut self) -> &mut [T; 26]
Performs the conversion.
impl<T> AsMut<[T; 27]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>>
impl<T> AsMut<[T; 27]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>>
pub fn as_mut(&mut self) -> &mut [T; 27]
pub fn as_mut(&mut self) -> &mut [T; 27]
Performs the conversion.
impl<T> AsMut<[T; 28]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>
impl<T> AsMut<[T; 28]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>
pub fn as_mut(&mut self) -> &mut [T; 28]
pub fn as_mut(&mut self) -> &mut [T; 28]
Performs the conversion.
impl<T> AsMut<[T; 29]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>>
impl<T> AsMut<[T; 29]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>>
pub fn as_mut(&mut self) -> &mut [T; 29]
pub fn as_mut(&mut self) -> &mut [T; 29]
Performs the conversion.
impl<T> AsMut<[T; 3]> for GenericArray<T, UInt<UInt<UTerm, B1>, B1>>
impl<T> AsMut<[T; 3]> for GenericArray<T, UInt<UInt<UTerm, B1>, B1>>
pub fn as_mut(&mut self) -> &mut [T; 3]
pub fn as_mut(&mut self) -> &mut [T; 3]
Performs the conversion.
impl<T> AsMut<[T; 30]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>>
impl<T> AsMut<[T; 30]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>>
pub fn as_mut(&mut self) -> &mut [T; 30]
pub fn as_mut(&mut self) -> &mut [T; 30]
Performs the conversion.
impl<T> AsMut<[T; 31]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>>
impl<T> AsMut<[T; 31]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>>
pub fn as_mut(&mut self) -> &mut [T; 31]
pub fn as_mut(&mut self) -> &mut [T; 31]
Performs the conversion.
impl<T> AsMut<[T; 32]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>
impl<T> AsMut<[T; 32]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>
pub fn as_mut(&mut self) -> &mut [T; 32]
pub fn as_mut(&mut self) -> &mut [T; 32]
Performs the conversion.
impl<T> AsMut<[T; 4]> for GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B0>>
impl<T> AsMut<[T; 4]> for GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B0>>
pub fn as_mut(&mut self) -> &mut [T; 4]
pub fn as_mut(&mut self) -> &mut [T; 4]
Performs the conversion.
impl<T> AsMut<[T; 5]> for GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>
impl<T> AsMut<[T; 5]> for GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>
pub fn as_mut(&mut self) -> &mut [T; 5]
pub fn as_mut(&mut self) -> &mut [T; 5]
Performs the conversion.
impl<T> AsMut<[T; 6]> for GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>
impl<T> AsMut<[T; 6]> for GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>
pub fn as_mut(&mut self) -> &mut [T; 6]
pub fn as_mut(&mut self) -> &mut [T; 6]
Performs the conversion.
impl<T> AsMut<[T; 7]> for GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B1>>
impl<T> AsMut<[T; 7]> for GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B1>>
pub fn as_mut(&mut self) -> &mut [T; 7]
pub fn as_mut(&mut self) -> &mut [T; 7]
Performs the conversion.
impl<T> AsMut<[T; 8]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>
impl<T> AsMut<[T; 8]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>
pub fn as_mut(&mut self) -> &mut [T; 8]
pub fn as_mut(&mut self) -> &mut [T; 8]
Performs the conversion.
impl<T> AsMut<[T; 9]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>>
impl<T> AsMut<[T; 9]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>>
pub fn as_mut(&mut self) -> &mut [T; 9]
pub fn as_mut(&mut self) -> &mut [T; 9]
Performs the conversion.
impl<T, N> AsMut<[T]> for GenericArray<T, N> where
N: ArrayLength<T>,
impl<T, N> AsMut<[T]> for GenericArray<T, N> where
N: ArrayLength<T>,
pub fn as_mut(&mut self) -> &mut [T]
pub fn as_mut(&mut self) -> &mut [T]
Performs the conversion.
impl<T> AsRef<[T; 1]> for GenericArray<T, UInt<UTerm, B1>>
impl<T> AsRef<[T; 1]> for GenericArray<T, UInt<UTerm, B1>>
pub fn as_ref(&self) -> &[T; 1]
pub fn as_ref(&self) -> &[T; 1]
Performs the conversion.
impl<T> AsRef<[T; 10]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>
impl<T> AsRef<[T; 10]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>
pub fn as_ref(&self) -> &[T; 10]
pub fn as_ref(&self) -> &[T; 10]
Performs the conversion.
impl<T> AsRef<[T; 11]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>>
impl<T> AsRef<[T; 11]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>>
pub fn as_ref(&self) -> &[T; 11]
pub fn as_ref(&self) -> &[T; 11]
Performs the conversion.
impl<T> AsRef<[T; 12]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>
impl<T> AsRef<[T; 12]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>
pub fn as_ref(&self) -> &[T; 12]
pub fn as_ref(&self) -> &[T; 12]
Performs the conversion.
impl<T> AsRef<[T; 13]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>>
impl<T> AsRef<[T; 13]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>>
pub fn as_ref(&self) -> &[T; 13]
pub fn as_ref(&self) -> &[T; 13]
Performs the conversion.
impl<T> AsRef<[T; 14]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>>
impl<T> AsRef<[T; 14]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>>
pub fn as_ref(&self) -> &[T; 14]
pub fn as_ref(&self) -> &[T; 14]
Performs the conversion.
impl<T> AsRef<[T; 15]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>>
impl<T> AsRef<[T; 15]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>>
pub fn as_ref(&self) -> &[T; 15]
pub fn as_ref(&self) -> &[T; 15]
Performs the conversion.
impl<T> AsRef<[T; 16]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>
impl<T> AsRef<[T; 16]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>
pub fn as_ref(&self) -> &[T; 16]
pub fn as_ref(&self) -> &[T; 16]
Performs the conversion.
impl<T> AsRef<[T; 17]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>>
impl<T> AsRef<[T; 17]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>>
pub fn as_ref(&self) -> &[T; 17]
pub fn as_ref(&self) -> &[T; 17]
Performs the conversion.
impl<T> AsRef<[T; 18]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>>
impl<T> AsRef<[T; 18]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>>
pub fn as_ref(&self) -> &[T; 18]
pub fn as_ref(&self) -> &[T; 18]
Performs the conversion.
impl<T> AsRef<[T; 19]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>>
impl<T> AsRef<[T; 19]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>>
pub fn as_ref(&self) -> &[T; 19]
pub fn as_ref(&self) -> &[T; 19]
Performs the conversion.
impl<T> AsRef<[T; 2]> for GenericArray<T, UInt<UInt<UTerm, B1>, B0>>
impl<T> AsRef<[T; 2]> for GenericArray<T, UInt<UInt<UTerm, B1>, B0>>
pub fn as_ref(&self) -> &[T; 2]
pub fn as_ref(&self) -> &[T; 2]
Performs the conversion.
impl<T> AsRef<[T; 20]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>>
impl<T> AsRef<[T; 20]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>>
pub fn as_ref(&self) -> &[T; 20]
pub fn as_ref(&self) -> &[T; 20]
Performs the conversion.
impl<T> AsRef<[T; 21]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>>
impl<T> AsRef<[T; 21]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>>
pub fn as_ref(&self) -> &[T; 21]
pub fn as_ref(&self) -> &[T; 21]
Performs the conversion.
impl<T> AsRef<[T; 22]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>>
impl<T> AsRef<[T; 22]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>>
pub fn as_ref(&self) -> &[T; 22]
pub fn as_ref(&self) -> &[T; 22]
Performs the conversion.
impl<T> AsRef<[T; 23]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>>
impl<T> AsRef<[T; 23]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>>
pub fn as_ref(&self) -> &[T; 23]
pub fn as_ref(&self) -> &[T; 23]
Performs the conversion.
impl<T> AsRef<[T; 24]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>
impl<T> AsRef<[T; 24]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>
pub fn as_ref(&self) -> &[T; 24]
pub fn as_ref(&self) -> &[T; 24]
Performs the conversion.
impl<T> AsRef<[T; 25]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>>
impl<T> AsRef<[T; 25]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>>
pub fn as_ref(&self) -> &[T; 25]
pub fn as_ref(&self) -> &[T; 25]
Performs the conversion.
impl<T> AsRef<[T; 26]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>>
impl<T> AsRef<[T; 26]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>>
pub fn as_ref(&self) -> &[T; 26]
pub fn as_ref(&self) -> &[T; 26]
Performs the conversion.
impl<T> AsRef<[T; 27]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>>
impl<T> AsRef<[T; 27]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>>
pub fn as_ref(&self) -> &[T; 27]
pub fn as_ref(&self) -> &[T; 27]
Performs the conversion.
impl<T> AsRef<[T; 28]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>
impl<T> AsRef<[T; 28]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>
pub fn as_ref(&self) -> &[T; 28]
pub fn as_ref(&self) -> &[T; 28]
Performs the conversion.
impl<T> AsRef<[T; 29]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>>
impl<T> AsRef<[T; 29]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>>
pub fn as_ref(&self) -> &[T; 29]
pub fn as_ref(&self) -> &[T; 29]
Performs the conversion.
impl<T> AsRef<[T; 3]> for GenericArray<T, UInt<UInt<UTerm, B1>, B1>>
impl<T> AsRef<[T; 3]> for GenericArray<T, UInt<UInt<UTerm, B1>, B1>>
pub fn as_ref(&self) -> &[T; 3]
pub fn as_ref(&self) -> &[T; 3]
Performs the conversion.
impl<T> AsRef<[T; 30]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>>
impl<T> AsRef<[T; 30]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>>
pub fn as_ref(&self) -> &[T; 30]
pub fn as_ref(&self) -> &[T; 30]
Performs the conversion.
impl<T> AsRef<[T; 31]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>>
impl<T> AsRef<[T; 31]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>>
pub fn as_ref(&self) -> &[T; 31]
pub fn as_ref(&self) -> &[T; 31]
Performs the conversion.
impl<T> AsRef<[T; 32]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>
impl<T> AsRef<[T; 32]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>
pub fn as_ref(&self) -> &[T; 32]
pub fn as_ref(&self) -> &[T; 32]
Performs the conversion.
impl<T> AsRef<[T; 4]> for GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B0>>
impl<T> AsRef<[T; 4]> for GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B0>>
pub fn as_ref(&self) -> &[T; 4]
pub fn as_ref(&self) -> &[T; 4]
Performs the conversion.
impl<T> AsRef<[T; 5]> for GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>
impl<T> AsRef<[T; 5]> for GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>
pub fn as_ref(&self) -> &[T; 5]
pub fn as_ref(&self) -> &[T; 5]
Performs the conversion.
impl<T> AsRef<[T; 6]> for GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>
impl<T> AsRef<[T; 6]> for GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>
pub fn as_ref(&self) -> &[T; 6]
pub fn as_ref(&self) -> &[T; 6]
Performs the conversion.
impl<T> AsRef<[T; 7]> for GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B1>>
impl<T> AsRef<[T; 7]> for GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B1>>
pub fn as_ref(&self) -> &[T; 7]
pub fn as_ref(&self) -> &[T; 7]
Performs the conversion.
impl<T> AsRef<[T; 8]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>
impl<T> AsRef<[T; 8]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>
pub fn as_ref(&self) -> &[T; 8]
pub fn as_ref(&self) -> &[T; 8]
Performs the conversion.
impl<T> AsRef<[T; 9]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>>
impl<T> AsRef<[T; 9]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>>
pub fn as_ref(&self) -> &[T; 9]
pub fn as_ref(&self) -> &[T; 9]
Performs the conversion.
impl<T, N> AsRef<[T]> for GenericArray<T, N> where
N: ArrayLength<T>,
impl<T, N> AsRef<[T]> for GenericArray<T, N> where
N: ArrayLength<T>,
pub fn as_ref(&self) -> &[T]
pub fn as_ref(&self) -> &[T]
Performs the conversion.
impl<T, N> Borrow<[T]> for GenericArray<T, N> where
N: ArrayLength<T>,
impl<T, N> Borrow<[T]> for GenericArray<T, N> where
N: ArrayLength<T>,
impl<T, N> BorrowMut<[T]> for GenericArray<T, N> where
N: ArrayLength<T>,
impl<T, N> BorrowMut<[T]> for GenericArray<T, N> where
N: ArrayLength<T>,
pub fn borrow_mut(&mut self) -> &mut [T]
pub fn borrow_mut(&mut self) -> &mut [T]
Mutably borrows from an owned value. Read more
impl<T, N> Clone for GenericArray<T, N> where
N: ArrayLength<T>,
T: Clone,
impl<T, N> Clone for GenericArray<T, N> where
N: ArrayLength<T>,
T: Clone,
pub fn clone(&self) -> GenericArray<T, N>
pub fn clone(&self) -> GenericArray<T, N>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<T, N, M> Concat<T, M> for GenericArray<T, N> where
N: ArrayLength<T> + Add<M>,
M: ArrayLength<T>,
<N as Add<M>>::Output: ArrayLength<T>,
impl<T, N, M> Concat<T, M> for GenericArray<T, N> where
N: ArrayLength<T> + Add<M>,
M: ArrayLength<T>,
<N as Add<M>>::Output: ArrayLength<T>,
type Rest = GenericArray<T, M>
type Rest = GenericArray<T, M>
Sequence to be concatenated with self
type Output = GenericArray<T, <N as Add<M>>::Output>
type Output = GenericArray<T, <N as Add<M>>::Output>
Resulting sequence formed by the concatenation.
pub fn concat(
self,
rest: <GenericArray<T, N> as Concat<T, M>>::Rest
) -> <GenericArray<T, N> as Concat<T, M>>::Output
pub fn concat(
self,
rest: <GenericArray<T, N> as Concat<T, M>>::Rest
) -> <GenericArray<T, N> as Concat<T, M>>::Output
Concatenate, or join, two sequences.
impl<T, N> Debug for GenericArray<T, N> where
N: ArrayLength<T>,
T: Debug,
impl<T, N> Debug for GenericArray<T, N> where
N: ArrayLength<T>,
T: Debug,
impl<T, N> Default for GenericArray<T, N> where
N: ArrayLength<T>,
T: Default,
impl<T, N> Default for GenericArray<T, N> where
N: ArrayLength<T>,
T: Default,
pub fn default() -> GenericArray<T, N>
pub fn default() -> GenericArray<T, N>
Returns the “default value” for a type. Read more
impl<T, N> Deref for GenericArray<T, N> where
N: ArrayLength<T>,
impl<T, N> Deref for GenericArray<T, N> where
N: ArrayLength<T>,
impl<T, N> DerefMut for GenericArray<T, N> where
N: ArrayLength<T>,
impl<T, N> DerefMut for GenericArray<T, N> where
N: ArrayLength<T>,
pub fn deref_mut(&mut self) -> &mut [T]
pub fn deref_mut(&mut self) -> &mut [T]
Mutably dereferences the value.
impl<'a, T> From<&'a [T; 1]> for &'a GenericArray<T, UInt<UTerm, B1>>
impl<'a, T> From<&'a [T; 1]> for &'a GenericArray<T, UInt<UTerm, B1>>
pub fn from(slice: &[T; 1]) -> &GenericArray<T, UInt<UTerm, B1>>
pub fn from(slice: &[T; 1]) -> &GenericArray<T, UInt<UTerm, B1>>
Performs the conversion.
impl<'a, T> From<&'a [T; 10]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>
impl<'a, T> From<&'a [T; 10]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>
pub fn from(
slice: &[T; 10]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>
pub fn from(
slice: &[T; 10]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>
Performs the conversion.
impl<'a, T> From<&'a [T; 11]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>>
impl<'a, T> From<&'a [T; 11]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>>
pub fn from(
slice: &[T; 11]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>>
pub fn from(
slice: &[T; 11]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>>
Performs the conversion.
impl<'a, T> From<&'a [T; 12]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>
impl<'a, T> From<&'a [T; 12]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>
pub fn from(
slice: &[T; 12]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>
pub fn from(
slice: &[T; 12]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>
Performs the conversion.
impl<'a, T> From<&'a [T; 13]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>>
impl<'a, T> From<&'a [T; 13]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>>
pub fn from(
slice: &[T; 13]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>>
pub fn from(
slice: &[T; 13]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>>
Performs the conversion.
impl<'a, T> From<&'a [T; 14]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>>
impl<'a, T> From<&'a [T; 14]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>>
pub fn from(
slice: &[T; 14]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>>
pub fn from(
slice: &[T; 14]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>>
Performs the conversion.
impl<'a, T> From<&'a [T; 15]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>>
impl<'a, T> From<&'a [T; 15]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>>
pub fn from(
slice: &[T; 15]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>>
pub fn from(
slice: &[T; 15]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>>
Performs the conversion.
impl<'a, T> From<&'a [T; 16]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>
impl<'a, T> From<&'a [T; 16]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>
pub fn from(
slice: &[T; 16]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>
pub fn from(
slice: &[T; 16]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>
Performs the conversion.
impl<'a, T> From<&'a [T; 17]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>>
impl<'a, T> From<&'a [T; 17]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>>
pub fn from(
slice: &[T; 17]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>>
pub fn from(
slice: &[T; 17]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>>
Performs the conversion.
impl<'a, T> From<&'a [T; 18]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>>
impl<'a, T> From<&'a [T; 18]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>>
pub fn from(
slice: &[T; 18]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>>
pub fn from(
slice: &[T; 18]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>>
Performs the conversion.
impl<'a, T> From<&'a [T; 19]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>>
impl<'a, T> From<&'a [T; 19]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>>
pub fn from(
slice: &[T; 19]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>>
pub fn from(
slice: &[T; 19]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>>
Performs the conversion.
impl<'a, T> From<&'a [T; 2]> for &'a GenericArray<T, UInt<UInt<UTerm, B1>, B0>>
impl<'a, T> From<&'a [T; 2]> for &'a GenericArray<T, UInt<UInt<UTerm, B1>, B0>>
pub fn from(slice: &[T; 2]) -> &GenericArray<T, UInt<UInt<UTerm, B1>, B0>>
pub fn from(slice: &[T; 2]) -> &GenericArray<T, UInt<UInt<UTerm, B1>, B0>>
Performs the conversion.
impl<'a, T> From<&'a [T; 20]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>>
impl<'a, T> From<&'a [T; 20]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>>
pub fn from(
slice: &[T; 20]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>>
pub fn from(
slice: &[T; 20]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>>
Performs the conversion.
impl<'a, T> From<&'a [T; 21]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>>
impl<'a, T> From<&'a [T; 21]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>>
pub fn from(
slice: &[T; 21]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>>
pub fn from(
slice: &[T; 21]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>>
Performs the conversion.
impl<'a, T> From<&'a [T; 22]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>>
impl<'a, T> From<&'a [T; 22]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>>
pub fn from(
slice: &[T; 22]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>>
pub fn from(
slice: &[T; 22]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>>
Performs the conversion.
impl<'a, T> From<&'a [T; 23]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>>
impl<'a, T> From<&'a [T; 23]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>>
pub fn from(
slice: &[T; 23]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>>
pub fn from(
slice: &[T; 23]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>>
Performs the conversion.
impl<'a, T> From<&'a [T; 24]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>
impl<'a, T> From<&'a [T; 24]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>
pub fn from(
slice: &[T; 24]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>
pub fn from(
slice: &[T; 24]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>
Performs the conversion.
impl<'a, T> From<&'a [T; 25]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>>
impl<'a, T> From<&'a [T; 25]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>>
pub fn from(
slice: &[T; 25]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>>
pub fn from(
slice: &[T; 25]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>>
Performs the conversion.
impl<'a, T> From<&'a [T; 26]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>>
impl<'a, T> From<&'a [T; 26]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>>
pub fn from(
slice: &[T; 26]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>>
pub fn from(
slice: &[T; 26]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>>
Performs the conversion.
impl<'a, T> From<&'a [T; 27]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>>
impl<'a, T> From<&'a [T; 27]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>>
pub fn from(
slice: &[T; 27]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>>
pub fn from(
slice: &[T; 27]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>>
Performs the conversion.
impl<'a, T> From<&'a [T; 28]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>
impl<'a, T> From<&'a [T; 28]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>
pub fn from(
slice: &[T; 28]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>
pub fn from(
slice: &[T; 28]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>
Performs the conversion.
impl<'a, T> From<&'a [T; 29]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>>
impl<'a, T> From<&'a [T; 29]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>>
pub fn from(
slice: &[T; 29]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>>
pub fn from(
slice: &[T; 29]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>>
Performs the conversion.
impl<'a, T> From<&'a [T; 3]> for &'a GenericArray<T, UInt<UInt<UTerm, B1>, B1>>
impl<'a, T> From<&'a [T; 3]> for &'a GenericArray<T, UInt<UInt<UTerm, B1>, B1>>
pub fn from(slice: &[T; 3]) -> &GenericArray<T, UInt<UInt<UTerm, B1>, B1>>
pub fn from(slice: &[T; 3]) -> &GenericArray<T, UInt<UInt<UTerm, B1>, B1>>
Performs the conversion.
impl<'a, T> From<&'a [T; 30]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>>
impl<'a, T> From<&'a [T; 30]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>>
pub fn from(
slice: &[T; 30]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>>
pub fn from(
slice: &[T; 30]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>>
Performs the conversion.
impl<'a, T> From<&'a [T; 31]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>>
impl<'a, T> From<&'a [T; 31]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>>
pub fn from(
slice: &[T; 31]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>>
pub fn from(
slice: &[T; 31]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>>
Performs the conversion.
impl<'a, T> From<&'a [T; 32]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>
impl<'a, T> From<&'a [T; 32]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>
pub fn from(
slice: &[T; 32]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>
pub fn from(
slice: &[T; 32]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>
Performs the conversion.
impl<'a, T> From<&'a [T; 4]> for &'a GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B0>>
impl<'a, T> From<&'a [T; 4]> for &'a GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B0>>
pub fn from(
slice: &[T; 4]
) -> &GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B0>>
pub fn from(
slice: &[T; 4]
) -> &GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B0>>
Performs the conversion.
impl<'a, T> From<&'a [T; 5]> for &'a GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>
impl<'a, T> From<&'a [T; 5]> for &'a GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>
pub fn from(
slice: &[T; 5]
) -> &GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>
pub fn from(
slice: &[T; 5]
) -> &GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>
Performs the conversion.
impl<'a, T> From<&'a [T; 6]> for &'a GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>
impl<'a, T> From<&'a [T; 6]> for &'a GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>
pub fn from(
slice: &[T; 6]
) -> &GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>
pub fn from(
slice: &[T; 6]
) -> &GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>
Performs the conversion.
impl<'a, T> From<&'a [T; 7]> for &'a GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B1>>
impl<'a, T> From<&'a [T; 7]> for &'a GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B1>>
pub fn from(
slice: &[T; 7]
) -> &GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B1>>
pub fn from(
slice: &[T; 7]
) -> &GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B1>>
Performs the conversion.
impl<'a, T> From<&'a [T; 8]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>
impl<'a, T> From<&'a [T; 8]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>
pub fn from(
slice: &[T; 8]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>
pub fn from(
slice: &[T; 8]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>
Performs the conversion.
impl<'a, T> From<&'a [T; 9]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>>
impl<'a, T> From<&'a [T; 9]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>>
pub fn from(
slice: &[T; 9]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>>
pub fn from(
slice: &[T; 9]
) -> &GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>>
Performs the conversion.
impl<'a, T, N> From<&'a [T]> for &'a GenericArray<T, N> where
N: ArrayLength<T>,
impl<'a, T, N> From<&'a [T]> for &'a GenericArray<T, N> where
N: ArrayLength<T>,
pub fn from(slice: &[T]) -> &GenericArray<T, N>
pub fn from(slice: &[T]) -> &GenericArray<T, N>
Converts slice to a generic array reference with inferred length;
Length of the slice must be equal to the length of the array.
impl<'a, T> From<&'a mut [T; 1]> for &'a mut GenericArray<T, UInt<UTerm, B1>>
impl<'a, T> From<&'a mut [T; 1]> for &'a mut GenericArray<T, UInt<UTerm, B1>>
pub fn from(slice: &mut [T; 1]) -> &mut GenericArray<T, UInt<UTerm, B1>>
pub fn from(slice: &mut [T; 1]) -> &mut GenericArray<T, UInt<UTerm, B1>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 10]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>
impl<'a, T> From<&'a mut [T; 10]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>
pub fn from(
slice: &mut [T; 10]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>
pub fn from(
slice: &mut [T; 10]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 11]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>>
impl<'a, T> From<&'a mut [T; 11]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>>
pub fn from(
slice: &mut [T; 11]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>>
pub fn from(
slice: &mut [T; 11]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 12]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>
impl<'a, T> From<&'a mut [T; 12]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>
pub fn from(
slice: &mut [T; 12]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>
pub fn from(
slice: &mut [T; 12]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 13]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>>
impl<'a, T> From<&'a mut [T; 13]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>>
pub fn from(
slice: &mut [T; 13]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>>
pub fn from(
slice: &mut [T; 13]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 14]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>>
impl<'a, T> From<&'a mut [T; 14]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>>
pub fn from(
slice: &mut [T; 14]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>>
pub fn from(
slice: &mut [T; 14]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 15]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>>
impl<'a, T> From<&'a mut [T; 15]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>>
pub fn from(
slice: &mut [T; 15]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>>
pub fn from(
slice: &mut [T; 15]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 16]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>
impl<'a, T> From<&'a mut [T; 16]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>
pub fn from(
slice: &mut [T; 16]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>
pub fn from(
slice: &mut [T; 16]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 17]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>>
impl<'a, T> From<&'a mut [T; 17]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>>
pub fn from(
slice: &mut [T; 17]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>>
pub fn from(
slice: &mut [T; 17]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 18]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>>
impl<'a, T> From<&'a mut [T; 18]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>>
pub fn from(
slice: &mut [T; 18]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>>
pub fn from(
slice: &mut [T; 18]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 19]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>>
impl<'a, T> From<&'a mut [T; 19]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>>
pub fn from(
slice: &mut [T; 19]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>>
pub fn from(
slice: &mut [T; 19]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 2]> for &'a mut GenericArray<T, UInt<UInt<UTerm, B1>, B0>>
impl<'a, T> From<&'a mut [T; 2]> for &'a mut GenericArray<T, UInt<UInt<UTerm, B1>, B0>>
pub fn from(
slice: &mut [T; 2]
) -> &mut GenericArray<T, UInt<UInt<UTerm, B1>, B0>>
pub fn from(
slice: &mut [T; 2]
) -> &mut GenericArray<T, UInt<UInt<UTerm, B1>, B0>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 20]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>>
impl<'a, T> From<&'a mut [T; 20]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>>
pub fn from(
slice: &mut [T; 20]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>>
pub fn from(
slice: &mut [T; 20]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 21]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>>
impl<'a, T> From<&'a mut [T; 21]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>>
pub fn from(
slice: &mut [T; 21]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>>
pub fn from(
slice: &mut [T; 21]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 22]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>>
impl<'a, T> From<&'a mut [T; 22]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>>
pub fn from(
slice: &mut [T; 22]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>>
pub fn from(
slice: &mut [T; 22]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 23]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>>
impl<'a, T> From<&'a mut [T; 23]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>>
pub fn from(
slice: &mut [T; 23]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>>
pub fn from(
slice: &mut [T; 23]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 24]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>
impl<'a, T> From<&'a mut [T; 24]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>
pub fn from(
slice: &mut [T; 24]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>
pub fn from(
slice: &mut [T; 24]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 25]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>>
impl<'a, T> From<&'a mut [T; 25]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>>
pub fn from(
slice: &mut [T; 25]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>>
pub fn from(
slice: &mut [T; 25]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 26]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>>
impl<'a, T> From<&'a mut [T; 26]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>>
pub fn from(
slice: &mut [T; 26]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>>
pub fn from(
slice: &mut [T; 26]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 27]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>>
impl<'a, T> From<&'a mut [T; 27]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>>
pub fn from(
slice: &mut [T; 27]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>>
pub fn from(
slice: &mut [T; 27]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 28]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>
impl<'a, T> From<&'a mut [T; 28]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>
pub fn from(
slice: &mut [T; 28]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>
pub fn from(
slice: &mut [T; 28]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 29]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>>
impl<'a, T> From<&'a mut [T; 29]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>>
pub fn from(
slice: &mut [T; 29]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>>
pub fn from(
slice: &mut [T; 29]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 3]> for &'a mut GenericArray<T, UInt<UInt<UTerm, B1>, B1>>
impl<'a, T> From<&'a mut [T; 3]> for &'a mut GenericArray<T, UInt<UInt<UTerm, B1>, B1>>
pub fn from(
slice: &mut [T; 3]
) -> &mut GenericArray<T, UInt<UInt<UTerm, B1>, B1>>
pub fn from(
slice: &mut [T; 3]
) -> &mut GenericArray<T, UInt<UInt<UTerm, B1>, B1>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 30]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>>
impl<'a, T> From<&'a mut [T; 30]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>>
pub fn from(
slice: &mut [T; 30]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>>
pub fn from(
slice: &mut [T; 30]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 31]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>>
impl<'a, T> From<&'a mut [T; 31]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>>
pub fn from(
slice: &mut [T; 31]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>>
pub fn from(
slice: &mut [T; 31]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 32]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>
impl<'a, T> From<&'a mut [T; 32]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>
pub fn from(
slice: &mut [T; 32]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>
pub fn from(
slice: &mut [T; 32]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 4]> for &'a mut GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B0>>
impl<'a, T> From<&'a mut [T; 4]> for &'a mut GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B0>>
pub fn from(
slice: &mut [T; 4]
) -> &mut GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B0>>
pub fn from(
slice: &mut [T; 4]
) -> &mut GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B0>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 5]> for &'a mut GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>
impl<'a, T> From<&'a mut [T; 5]> for &'a mut GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>
pub fn from(
slice: &mut [T; 5]
) -> &mut GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>
pub fn from(
slice: &mut [T; 5]
) -> &mut GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 6]> for &'a mut GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>
impl<'a, T> From<&'a mut [T; 6]> for &'a mut GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>
pub fn from(
slice: &mut [T; 6]
) -> &mut GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>
pub fn from(
slice: &mut [T; 6]
) -> &mut GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 7]> for &'a mut GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B1>>
impl<'a, T> From<&'a mut [T; 7]> for &'a mut GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B1>>
pub fn from(
slice: &mut [T; 7]
) -> &mut GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B1>>
pub fn from(
slice: &mut [T; 7]
) -> &mut GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B1>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 8]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>
impl<'a, T> From<&'a mut [T; 8]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>
pub fn from(
slice: &mut [T; 8]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>
pub fn from(
slice: &mut [T; 8]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>
Performs the conversion.
impl<'a, T> From<&'a mut [T; 9]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>>
impl<'a, T> From<&'a mut [T; 9]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>>
pub fn from(
slice: &mut [T; 9]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>>
pub fn from(
slice: &mut [T; 9]
) -> &mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>>
Performs the conversion.
impl<'a, T, N> From<&'a mut [T]> for &'a mut GenericArray<T, N> where
N: ArrayLength<T>,
impl<'a, T, N> From<&'a mut [T]> for &'a mut GenericArray<T, N> where
N: ArrayLength<T>,
pub fn from(slice: &mut [T]) -> &mut GenericArray<T, N>
pub fn from(slice: &mut [T]) -> &mut GenericArray<T, N>
Converts mutable slice to a mutable generic array reference
Length of the slice must be equal to the length of the array.
impl<T> From<[T; 1]> for GenericArray<T, UInt<UTerm, B1>>
impl<T> From<[T; 1]> for GenericArray<T, UInt<UTerm, B1>>
pub fn from(arr: [T; 1]) -> GenericArray<T, UInt<UTerm, B1>>
pub fn from(arr: [T; 1]) -> GenericArray<T, UInt<UTerm, B1>>
Performs the conversion.
impl<T> From<[T; 10]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>
impl<T> From<[T; 10]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>
pub fn from(
arr: [T; 10]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>
pub fn from(
arr: [T; 10]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>
Performs the conversion.
impl<T> From<[T; 11]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>>
impl<T> From<[T; 11]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>>
pub fn from(
arr: [T; 11]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>>
pub fn from(
arr: [T; 11]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>>
Performs the conversion.
impl<T> From<[T; 12]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>
impl<T> From<[T; 12]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>
pub fn from(
arr: [T; 12]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>
pub fn from(
arr: [T; 12]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>
Performs the conversion.
impl<T> From<[T; 13]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>>
impl<T> From<[T; 13]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>>
pub fn from(
arr: [T; 13]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>>
pub fn from(
arr: [T; 13]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>>
Performs the conversion.
impl<T> From<[T; 14]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>>
impl<T> From<[T; 14]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>>
pub fn from(
arr: [T; 14]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>>
pub fn from(
arr: [T; 14]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>>
Performs the conversion.
impl<T> From<[T; 15]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>>
impl<T> From<[T; 15]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>>
pub fn from(
arr: [T; 15]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>>
pub fn from(
arr: [T; 15]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>>
Performs the conversion.
impl<T> From<[T; 16]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>
impl<T> From<[T; 16]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>
pub fn from(
arr: [T; 16]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>
pub fn from(
arr: [T; 16]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>
Performs the conversion.
impl<T> From<[T; 17]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>>
impl<T> From<[T; 17]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>>
pub fn from(
arr: [T; 17]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>>
pub fn from(
arr: [T; 17]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>>
Performs the conversion.
impl<T> From<[T; 18]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>>
impl<T> From<[T; 18]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>>
pub fn from(
arr: [T; 18]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>>
pub fn from(
arr: [T; 18]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>>
Performs the conversion.
impl<T> From<[T; 19]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>>
impl<T> From<[T; 19]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>>
pub fn from(
arr: [T; 19]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>>
pub fn from(
arr: [T; 19]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>>
Performs the conversion.
impl<T> From<[T; 2]> for GenericArray<T, UInt<UInt<UTerm, B1>, B0>>
impl<T> From<[T; 2]> for GenericArray<T, UInt<UInt<UTerm, B1>, B0>>
pub fn from(arr: [T; 2]) -> GenericArray<T, UInt<UInt<UTerm, B1>, B0>>
pub fn from(arr: [T; 2]) -> GenericArray<T, UInt<UInt<UTerm, B1>, B0>>
Performs the conversion.
impl<T> From<[T; 20]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>>
impl<T> From<[T; 20]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>>
pub fn from(
arr: [T; 20]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>>
pub fn from(
arr: [T; 20]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>>
Performs the conversion.
impl<T> From<[T; 21]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>>
impl<T> From<[T; 21]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>>
pub fn from(
arr: [T; 21]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>>
pub fn from(
arr: [T; 21]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>>
Performs the conversion.
impl<T> From<[T; 22]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>>
impl<T> From<[T; 22]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>>
pub fn from(
arr: [T; 22]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>>
pub fn from(
arr: [T; 22]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>>
Performs the conversion.
impl<T> From<[T; 23]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>>
impl<T> From<[T; 23]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>>
pub fn from(
arr: [T; 23]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>>
pub fn from(
arr: [T; 23]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>>
Performs the conversion.
impl<T> From<[T; 24]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>
impl<T> From<[T; 24]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>
pub fn from(
arr: [T; 24]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>
pub fn from(
arr: [T; 24]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>
Performs the conversion.
impl<T> From<[T; 25]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>>
impl<T> From<[T; 25]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>>
pub fn from(
arr: [T; 25]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>>
pub fn from(
arr: [T; 25]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>>
Performs the conversion.
impl<T> From<[T; 26]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>>
impl<T> From<[T; 26]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>>
pub fn from(
arr: [T; 26]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>>
pub fn from(
arr: [T; 26]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>>
Performs the conversion.
impl<T> From<[T; 27]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>>
impl<T> From<[T; 27]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>>
pub fn from(
arr: [T; 27]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>>
pub fn from(
arr: [T; 27]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>>
Performs the conversion.
impl<T> From<[T; 28]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>
impl<T> From<[T; 28]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>
pub fn from(
arr: [T; 28]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>
pub fn from(
arr: [T; 28]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>
Performs the conversion.
impl<T> From<[T; 29]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>>
impl<T> From<[T; 29]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>>
pub fn from(
arr: [T; 29]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>>
pub fn from(
arr: [T; 29]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>>
Performs the conversion.
impl<T> From<[T; 3]> for GenericArray<T, UInt<UInt<UTerm, B1>, B1>>
impl<T> From<[T; 3]> for GenericArray<T, UInt<UInt<UTerm, B1>, B1>>
pub fn from(arr: [T; 3]) -> GenericArray<T, UInt<UInt<UTerm, B1>, B1>>
pub fn from(arr: [T; 3]) -> GenericArray<T, UInt<UInt<UTerm, B1>, B1>>
Performs the conversion.
impl<T> From<[T; 30]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>>
impl<T> From<[T; 30]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>>
pub fn from(
arr: [T; 30]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>>
pub fn from(
arr: [T; 30]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>>
Performs the conversion.
impl<T> From<[T; 31]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>>
impl<T> From<[T; 31]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>>
pub fn from(
arr: [T; 31]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>>
pub fn from(
arr: [T; 31]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>>
Performs the conversion.
impl<T> From<[T; 32]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>
impl<T> From<[T; 32]> for GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>
pub fn from(
arr: [T; 32]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>
pub fn from(
arr: [T; 32]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>
Performs the conversion.
impl<T> From<[T; 4]> for GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B0>>
impl<T> From<[T; 4]> for GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B0>>
pub fn from(arr: [T; 4]) -> GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B0>>
pub fn from(arr: [T; 4]) -> GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B0>>
Performs the conversion.
impl<T> From<[T; 5]> for GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>
impl<T> From<[T; 5]> for GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>
pub fn from(arr: [T; 5]) -> GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>
pub fn from(arr: [T; 5]) -> GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>
Performs the conversion.
impl<T> From<[T; 6]> for GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>
impl<T> From<[T; 6]> for GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>
pub fn from(arr: [T; 6]) -> GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>
pub fn from(arr: [T; 6]) -> GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>
Performs the conversion.
impl<T> From<[T; 7]> for GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B1>>
impl<T> From<[T; 7]> for GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B1>>
pub fn from(arr: [T; 7]) -> GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B1>>
pub fn from(arr: [T; 7]) -> GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B1>>
Performs the conversion.
impl<T> From<[T; 8]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>
impl<T> From<[T; 8]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>
pub fn from(
arr: [T; 8]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>
pub fn from(
arr: [T; 8]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>
Performs the conversion.
impl<T> From<[T; 9]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>>
impl<T> From<[T; 9]> for GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>>
pub fn from(
arr: [T; 9]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>>
pub fn from(
arr: [T; 9]
) -> GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>>
Performs the conversion.
impl<T, N> FromIterator<T> for GenericArray<T, N> where
N: ArrayLength<T>,
impl<T, N> FromIterator<T> for GenericArray<T, N> where
N: ArrayLength<T>,
pub fn from_iter<I>(iter: I) -> GenericArray<T, N> where
I: IntoIterator<Item = T>,
pub fn from_iter<I>(iter: I) -> GenericArray<T, N> where
I: IntoIterator<Item = T>,
Creates a value from an iterator. Read more
impl<T, N> FunctionalSequence<T> for GenericArray<T, N> where
N: ArrayLength<T>,
GenericArray<T, N>: GenericSequence<T>,
<GenericArray<T, N> as IntoIterator>::Item == T,
<GenericArray<T, N> as GenericSequence<T>>::Length == N,
impl<T, N> FunctionalSequence<T> for GenericArray<T, N> where
N: ArrayLength<T>,
GenericArray<T, N>: GenericSequence<T>,
<GenericArray<T, N> as IntoIterator>::Item == T,
<GenericArray<T, N> as GenericSequence<T>>::Length == N,
pub fn map<U, F>(
self,
f: F
) -> <<GenericArray<T, N> as MappedGenericSequence<T, U>>::Mapped as GenericSequence<U>>::Sequence where
F: FnMut(T) -> U,
<GenericArray<T, N> as GenericSequence<T>>::Length: ArrayLength<U>,
GenericArray<T, N>: MappedGenericSequence<T, U>,
pub fn map<U, F>(
self,
f: F
) -> <<GenericArray<T, N> as MappedGenericSequence<T, U>>::Mapped as GenericSequence<U>>::Sequence where
F: FnMut(T) -> U,
<GenericArray<T, N> as GenericSequence<T>>::Length: ArrayLength<U>,
GenericArray<T, N>: MappedGenericSequence<T, U>,
Maps a GenericSequence
to another GenericSequence
. Read more
pub fn zip<B, Rhs, U, F>(
self,
rhs: Rhs,
f: F
) -> <<GenericArray<T, N> as MappedGenericSequence<T, U>>::Mapped as GenericSequence<U>>::Sequence where
Rhs: MappedGenericSequence<B, U, Mapped = <<GenericArray<T, N> as MappedGenericSequence<T, U>>::Mapped as GenericSequence<U>>::Sequence, Length = <GenericArray<T, N> as GenericSequence<T>>::Length> + GenericSequence<B>,
F: FnMut(T, <Rhs as IntoIterator>::Item) -> U,
GenericArray<T, N>: MappedGenericSequence<T, U>,
<GenericArray<T, N> as GenericSequence<T>>::Length: ArrayLength<B>,
<GenericArray<T, N> as GenericSequence<T>>::Length: ArrayLength<U>,
pub fn zip<B, Rhs, U, F>(
self,
rhs: Rhs,
f: F
) -> <<GenericArray<T, N> as MappedGenericSequence<T, U>>::Mapped as GenericSequence<U>>::Sequence where
Rhs: MappedGenericSequence<B, U, Mapped = <<GenericArray<T, N> as MappedGenericSequence<T, U>>::Mapped as GenericSequence<U>>::Sequence, Length = <GenericArray<T, N> as GenericSequence<T>>::Length> + GenericSequence<B>,
F: FnMut(T, <Rhs as IntoIterator>::Item) -> U,
GenericArray<T, N>: MappedGenericSequence<T, U>,
<GenericArray<T, N> as GenericSequence<T>>::Length: ArrayLength<B>,
<GenericArray<T, N> as GenericSequence<T>>::Length: ArrayLength<U>,
Combines two GenericSequence
instances and iterates through both of them,
initializing a new GenericSequence
with the result of the zipped mapping function. Read more
impl<T, N> GenericSequence<T> for GenericArray<T, N> where
N: ArrayLength<T>,
GenericArray<T, N>: IntoIterator,
<GenericArray<T, N> as IntoIterator>::Item == T,
impl<T, N> GenericSequence<T> for GenericArray<T, N> where
N: ArrayLength<T>,
GenericArray<T, N>: IntoIterator,
<GenericArray<T, N> as IntoIterator>::Item == T,
type Length = N
type Length = N
GenericArray
associated length
type Sequence = GenericArray<T, N>
type Sequence = GenericArray<T, N>
Concrete sequence type used in conjuction with reference implementations of GenericSequence
pub fn generate<F>(f: F) -> GenericArray<T, N> where
F: FnMut(usize) -> T,
pub fn generate<F>(f: F) -> GenericArray<T, N> where
F: FnMut(usize) -> T,
Initializes a new sequence instance using the given function. Read more
impl<T, N> Hash for GenericArray<T, N> where
N: ArrayLength<T>,
T: Hash,
impl<T, N> Hash for GenericArray<T, N> where
N: ArrayLength<T>,
T: Hash,
impl<'a, T, N> IntoIterator for &'a mut GenericArray<T, N> where
N: ArrayLength<T>,
T: 'a,
impl<'a, T, N> IntoIterator for &'a mut GenericArray<T, N> where
N: ArrayLength<T>,
T: 'a,
type Item = &'a mut T
type Item = &'a mut T
The type of the elements being iterated over.
pub fn into_iter(self) -> <&'a mut GenericArray<T, N> as IntoIterator>::IntoIter
pub fn into_iter(self) -> <&'a mut GenericArray<T, N> as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
impl<'a, T, N> IntoIterator for &'a GenericArray<T, N> where
N: ArrayLength<T>,
T: 'a,
impl<'a, T, N> IntoIterator for &'a GenericArray<T, N> where
N: ArrayLength<T>,
T: 'a,
type Item = &'a T
type Item = &'a T
The type of the elements being iterated over.
pub fn into_iter(self) -> <&'a GenericArray<T, N> as IntoIterator>::IntoIter
pub fn into_iter(self) -> <&'a GenericArray<T, N> as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
impl<T, N> IntoIterator for GenericArray<T, N> where
N: ArrayLength<T>,
impl<T, N> IntoIterator for GenericArray<T, N> where
N: ArrayLength<T>,
type Item = T
type Item = T
The type of the elements being iterated over.
type IntoIter = GenericArrayIter<T, N>
type IntoIter = GenericArrayIter<T, N>
Which kind of iterator are we turning this into?
pub fn into_iter(self) -> <GenericArray<T, N> as IntoIterator>::IntoIter
pub fn into_iter(self) -> <GenericArray<T, N> as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
impl<T, N> Lengthen<T> for GenericArray<T, N> where
N: ArrayLength<T> + Add<B1>,
<N as Add<B1>>::Output: ArrayLength<T>,
<N as Add<B1>>::Output: Sub<B1>,
<<N as Add<B1>>::Output as Sub<B1>>::Output: ArrayLength<T>,
<<N as Add<B1>>::Output as Sub<B1>>::Output == N,
impl<T, N> Lengthen<T> for GenericArray<T, N> where
N: ArrayLength<T> + Add<B1>,
<N as Add<B1>>::Output: ArrayLength<T>,
<N as Add<B1>>::Output: Sub<B1>,
<<N as Add<B1>>::Output as Sub<B1>>::Output: ArrayLength<T>,
<<N as Add<B1>>::Output as Sub<B1>>::Output == N,
type Longer = GenericArray<T, <N as Add<B1>>::Output>
type Longer = GenericArray<T, <N as Add<B1>>::Output>
GenericSequence
that has one more element than Self
pub fn append(self, last: T) -> <GenericArray<T, N> as Lengthen<T>>::Longer
pub fn append(self, last: T) -> <GenericArray<T, N> as Lengthen<T>>::Longer
Returns a new array with the given element appended to the end of it. Read more
pub fn prepend(self, first: T) -> <GenericArray<T, N> as Lengthen<T>>::Longer
pub fn prepend(self, first: T) -> <GenericArray<T, N> as Lengthen<T>>::Longer
Returns a new array with the given element prepended to the front of it. Read more
impl<T> LowerHex for GenericArray<u8, T> where
T: ArrayLength<u8> + Add<T>,
<T as Add<T>>::Output: ArrayLength<u8>,
impl<T> LowerHex for GenericArray<u8, T> where
T: ArrayLength<u8> + Add<T>,
<T as Add<T>>::Output: ArrayLength<u8>,
impl<T, U, N> MappedGenericSequence<T, U> for GenericArray<T, N> where
N: ArrayLength<T> + ArrayLength<U>,
GenericArray<U, N>: GenericSequence<U>,
<GenericArray<U, N> as GenericSequence<U>>::Length == N,
impl<T, U, N> MappedGenericSequence<T, U> for GenericArray<T, N> where
N: ArrayLength<T> + ArrayLength<U>,
GenericArray<U, N>: GenericSequence<U>,
<GenericArray<U, N> as GenericSequence<U>>::Length == N,
type Mapped = GenericArray<U, N>
type Mapped = GenericArray<U, N>
Mapped sequence type
impl<T, N> Ord for GenericArray<T, N> where
N: ArrayLength<T>,
T: Ord,
impl<T, N> Ord for GenericArray<T, N> where
N: ArrayLength<T>,
T: Ord,
impl<T, N> PartialEq<GenericArray<T, N>> for GenericArray<T, N> where
N: ArrayLength<T>,
T: PartialEq<T>,
impl<T, N> PartialEq<GenericArray<T, N>> for GenericArray<T, N> where
N: ArrayLength<T>,
T: PartialEq<T>,
pub fn eq(&self, other: &GenericArray<T, N>) -> bool
pub fn eq(&self, other: &GenericArray<T, N>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl<T, N> PartialOrd<GenericArray<T, N>> for GenericArray<T, N> where
N: ArrayLength<T>,
T: PartialOrd<T>,
impl<T, N> PartialOrd<GenericArray<T, N>> for GenericArray<T, N> where
N: ArrayLength<T>,
T: PartialOrd<T>,
pub fn partial_cmp(&self, other: &GenericArray<T, N>) -> Option<Ordering>
pub fn partial_cmp(&self, other: &GenericArray<T, N>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<T, N> Shorten<T> for GenericArray<T, N> where
N: ArrayLength<T> + Sub<B1>,
<N as Sub<B1>>::Output: ArrayLength<T>,
<N as Sub<B1>>::Output: Add<B1>,
<<N as Sub<B1>>::Output as Add<B1>>::Output: ArrayLength<T>,
<<N as Sub<B1>>::Output as Add<B1>>::Output == N,
impl<T, N> Shorten<T> for GenericArray<T, N> where
N: ArrayLength<T> + Sub<B1>,
<N as Sub<B1>>::Output: ArrayLength<T>,
<N as Sub<B1>>::Output: Add<B1>,
<<N as Sub<B1>>::Output as Add<B1>>::Output: ArrayLength<T>,
<<N as Sub<B1>>::Output as Add<B1>>::Output == N,
type Shorter = GenericArray<T, <N as Sub<B1>>::Output>
type Shorter = GenericArray<T, <N as Sub<B1>>::Output>
GenericSequence
that has one less element than Self
pub fn pop_back(self) -> (<GenericArray<T, N> as Shorten<T>>::Shorter, T)
pub fn pop_back(self) -> (<GenericArray<T, N> as Shorten<T>>::Shorter, T)
Returns a new array without the last element, and the last element. Read more
pub fn pop_front(self) -> (T, <GenericArray<T, N> as Shorten<T>>::Shorter)
pub fn pop_front(self) -> (T, <GenericArray<T, N> as Shorten<T>>::Shorter)
Returns a new array without the first element, and the first element. Example: Read more
impl<T, N, K> Split<T, K> for GenericArray<T, N> where
N: ArrayLength<T> + Sub<K>,
K: ArrayLength<T>,
<N as Sub<K>>::Output: ArrayLength<T>,
impl<T, N, K> Split<T, K> for GenericArray<T, N> where
N: ArrayLength<T> + Sub<K>,
K: ArrayLength<T>,
<N as Sub<K>>::Output: ArrayLength<T>,
type First = GenericArray<T, K>
type First = GenericArray<T, K>
First part of the resulting split array
type Second = GenericArray<T, <N as Sub<K>>::Output>
type Second = GenericArray<T, <N as Sub<K>>::Output>
Second part of the resulting split array
pub fn split(
self
) -> (<GenericArray<T, N> as Split<T, K>>::First, <GenericArray<T, N> as Split<T, K>>::Second)
pub fn split(
self
) -> (<GenericArray<T, N> as Split<T, K>>::First, <GenericArray<T, N> as Split<T, K>>::Second)
Splits an array at the given index, returning the separate parts of the array.
impl<'a, T, N, K> Split<T, K> for &'a mut GenericArray<T, N> where
N: ArrayLength<T> + Sub<K>,
K: ArrayLength<T> + 'static,
<N as Sub<K>>::Output: ArrayLength<T>,
impl<'a, T, N, K> Split<T, K> for &'a mut GenericArray<T, N> where
N: ArrayLength<T> + Sub<K>,
K: ArrayLength<T> + 'static,
<N as Sub<K>>::Output: ArrayLength<T>,
type First = &'a mut GenericArray<T, K>
type First = &'a mut GenericArray<T, K>
First part of the resulting split array
type Second = &'a mut GenericArray<T, <N as Sub<K>>::Output>
type Second = &'a mut GenericArray<T, <N as Sub<K>>::Output>
Second part of the resulting split array
pub fn split(
self
) -> (<&'a mut GenericArray<T, N> as Split<T, K>>::First, <&'a mut GenericArray<T, N> as Split<T, K>>::Second)
pub fn split(
self
) -> (<&'a mut GenericArray<T, N> as Split<T, K>>::First, <&'a mut GenericArray<T, N> as Split<T, K>>::Second)
Splits an array at the given index, returning the separate parts of the array.
impl<'a, T, N, K> Split<T, K> for &'a GenericArray<T, N> where
N: ArrayLength<T> + Sub<K>,
K: ArrayLength<T> + 'static,
<N as Sub<K>>::Output: ArrayLength<T>,
impl<'a, T, N, K> Split<T, K> for &'a GenericArray<T, N> where
N: ArrayLength<T> + Sub<K>,
K: ArrayLength<T> + 'static,
<N as Sub<K>>::Output: ArrayLength<T>,
type First = &'a GenericArray<T, K>
type First = &'a GenericArray<T, K>
First part of the resulting split array
type Second = &'a GenericArray<T, <N as Sub<K>>::Output>
type Second = &'a GenericArray<T, <N as Sub<K>>::Output>
Second part of the resulting split array
pub fn split(
self
) -> (<&'a GenericArray<T, N> as Split<T, K>>::First, <&'a GenericArray<T, N> as Split<T, K>>::Second)
pub fn split(
self
) -> (<&'a GenericArray<T, N> as Split<T, K>>::First, <&'a GenericArray<T, N> as Split<T, K>>::Second)
Splits an array at the given index, returning the separate parts of the array.
impl<T> UpperHex for GenericArray<u8, T> where
T: ArrayLength<u8> + Add<T>,
<T as Add<T>>::Output: ArrayLength<u8>,
impl<T> UpperHex for GenericArray<u8, T> where
T: ArrayLength<u8> + Add<T>,
<T as Add<T>>::Output: ArrayLength<u8>,
impl<T, N> Copy for GenericArray<T, N> where
N: ArrayLength<T>,
T: Copy,
<N as ArrayLength<T>>::ArrayType: Copy,
N: ArrayLength<T>,
T: Copy,
<N as ArrayLength<T>>::ArrayType: Copy,
impl<T, N> Eq for GenericArray<T, N> where
N: ArrayLength<T>,
T: Eq,
N: ArrayLength<T>,
T: Eq,
impl<T, N> Send for GenericArray<T, N> where
N: ArrayLength<T>,
T: Send,
N: ArrayLength<T>,
T: Send,
impl<T, N> Sync for GenericArray<T, N> where
N: ArrayLength<T>,
T: Sync,
N: ArrayLength<T>,
T: Sync,
Auto Trait Implementations
impl<T, U> Unpin for GenericArray<T, U> where
<U as ArrayLength<T>>::ArrayType: Unpin,
<U as ArrayLength<T>>::ArrayType: Unpin,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self