Struct generic_array::GenericArray [−][src]
#[repr(transparent)]pub struct GenericArray<T, U: ArrayLength<T>> { /* fields omitted */ }
Struct representing a generic array - GenericArray<T, N>
works like [T; N]
Implementations
impl<T, N> GenericArray<T, N> where
N: ArrayLength<T>,
[src]
impl<T, N> GenericArray<T, N> where
N: ArrayLength<T>,
[src]pub fn as_slice(&self) -> &[T]
[src]
Extracts a slice containing the entire array.
pub fn as_mut_slice(&mut self) -> &mut [T]
[src]
Extracts a mutable slice containing the entire array.
pub fn from_slice(slice: &[T]) -> &GenericArray<T, N>
[src]
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>
[src]
Converts mutable slice to a mutable generic array reference
Length of the slice must be equal to the length of the array.
impl<T: Clone, N> GenericArray<T, N> where
N: ArrayLength<T>,
[src]
impl<T: Clone, N> GenericArray<T, N> where
N: ArrayLength<T>,
[src]pub fn clone_from_slice(list: &[T]) -> GenericArray<T, N>
[src]
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>,
[src]
impl<T, N> GenericArray<T, N> where
N: ArrayLength<T>,
[src]pub fn from_exact_iter<I>(iter: I) -> Option<Self> where
I: IntoIterator<Item = T>,
[src]
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, N> AsMut<[T]> for GenericArray<T, N> where
N: ArrayLength<T>,
[src]
impl<T, N> AsMut<[T]> for GenericArray<T, N> where
N: ArrayLength<T>,
[src]impl<T, N> AsRef<[T]> for GenericArray<T, N> where
N: ArrayLength<T>,
[src]
impl<T, N> AsRef<[T]> for GenericArray<T, N> where
N: ArrayLength<T>,
[src]impl<T, N> Borrow<[T]> for GenericArray<T, N> where
N: ArrayLength<T>,
[src]
impl<T, N> Borrow<[T]> for GenericArray<T, N> where
N: ArrayLength<T>,
[src]impl<T, N> BorrowMut<[T]> for GenericArray<T, N> where
N: ArrayLength<T>,
[src]
impl<T, N> BorrowMut<[T]> for GenericArray<T, N> where
N: ArrayLength<T>,
[src]fn borrow_mut(&mut self) -> &mut [T]
[src]
impl<T: Clone, N> Clone for GenericArray<T, N> where
N: ArrayLength<T>,
[src]
impl<T: Clone, N> Clone for GenericArray<T, N> where
N: ArrayLength<T>,
[src]fn clone(&self) -> GenericArray<T, N>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T, N, M> Concat<T, M> for GenericArray<T, N> where
N: ArrayLength<T> + Add<M>,
M: ArrayLength<T>,
Sum<N, M>: ArrayLength<T>,
[src]
impl<T, N, M> Concat<T, M> for GenericArray<T, N> where
N: ArrayLength<T> + Add<M>,
M: ArrayLength<T>,
Sum<N, M>: ArrayLength<T>,
[src]type Rest = GenericArray<T, M>
Sequence to be concatenated with self
type Output = GenericArray<T, Sum<N, M>>
Resulting sequence formed by the concatenation.
fn concat(self, rest: Self::Rest) -> Self::Output
[src]
impl<T: Debug, N> Debug for GenericArray<T, N> where
N: ArrayLength<T>,
[src]
impl<T: Debug, N> Debug for GenericArray<T, N> where
N: ArrayLength<T>,
[src]impl<T: Default, N> Default for GenericArray<T, N> where
N: ArrayLength<T>,
[src]
impl<T: Default, N> Default for GenericArray<T, N> where
N: ArrayLength<T>,
[src]impl<T, N> Deref for GenericArray<T, N> where
N: ArrayLength<T>,
[src]
impl<T, N> Deref for GenericArray<T, N> where
N: ArrayLength<T>,
[src]impl<T, N> DerefMut for GenericArray<T, N> where
N: ArrayLength<T>,
[src]
impl<T, N> DerefMut for GenericArray<T, N> where
N: ArrayLength<T>,
[src]impl<'a, T> From<&'a [T; 1]> for &'a GenericArray<T, U1>
[src]
impl<'a, T> From<&'a [T; 1]> for &'a GenericArray<T, U1>
[src]fn from(slice: &[T; 1]) -> &GenericArray<T, U1>
[src]
impl<'a, T> From<&'a [T; 10]> for &'a GenericArray<T, U10>
[src]
impl<'a, T> From<&'a [T; 10]> for &'a GenericArray<T, U10>
[src]fn from(slice: &[T; 10]) -> &GenericArray<T, U10>
[src]
impl<'a, T> From<&'a [T; 11]> for &'a GenericArray<T, U11>
[src]
impl<'a, T> From<&'a [T; 11]> for &'a GenericArray<T, U11>
[src]fn from(slice: &[T; 11]) -> &GenericArray<T, U11>
[src]
impl<'a, T> From<&'a [T; 12]> for &'a GenericArray<T, U12>
[src]
impl<'a, T> From<&'a [T; 12]> for &'a GenericArray<T, U12>
[src]fn from(slice: &[T; 12]) -> &GenericArray<T, U12>
[src]
impl<'a, T> From<&'a [T; 13]> for &'a GenericArray<T, U13>
[src]
impl<'a, T> From<&'a [T; 13]> for &'a GenericArray<T, U13>
[src]fn from(slice: &[T; 13]) -> &GenericArray<T, U13>
[src]
impl<'a, T> From<&'a [T; 14]> for &'a GenericArray<T, U14>
[src]
impl<'a, T> From<&'a [T; 14]> for &'a GenericArray<T, U14>
[src]fn from(slice: &[T; 14]) -> &GenericArray<T, U14>
[src]
impl<'a, T> From<&'a [T; 15]> for &'a GenericArray<T, U15>
[src]
impl<'a, T> From<&'a [T; 15]> for &'a GenericArray<T, U15>
[src]fn from(slice: &[T; 15]) -> &GenericArray<T, U15>
[src]
impl<'a, T> From<&'a [T; 16]> for &'a GenericArray<T, U16>
[src]
impl<'a, T> From<&'a [T; 16]> for &'a GenericArray<T, U16>
[src]fn from(slice: &[T; 16]) -> &GenericArray<T, U16>
[src]
impl<'a, T> From<&'a [T; 17]> for &'a GenericArray<T, U17>
[src]
impl<'a, T> From<&'a [T; 17]> for &'a GenericArray<T, U17>
[src]fn from(slice: &[T; 17]) -> &GenericArray<T, U17>
[src]
impl<'a, T> From<&'a [T; 18]> for &'a GenericArray<T, U18>
[src]
impl<'a, T> From<&'a [T; 18]> for &'a GenericArray<T, U18>
[src]fn from(slice: &[T; 18]) -> &GenericArray<T, U18>
[src]
impl<'a, T> From<&'a [T; 19]> for &'a GenericArray<T, U19>
[src]
impl<'a, T> From<&'a [T; 19]> for &'a GenericArray<T, U19>
[src]fn from(slice: &[T; 19]) -> &GenericArray<T, U19>
[src]
impl<'a, T> From<&'a [T; 2]> for &'a GenericArray<T, U2>
[src]
impl<'a, T> From<&'a [T; 2]> for &'a GenericArray<T, U2>
[src]fn from(slice: &[T; 2]) -> &GenericArray<T, U2>
[src]
impl<'a, T> From<&'a [T; 20]> for &'a GenericArray<T, U20>
[src]
impl<'a, T> From<&'a [T; 20]> for &'a GenericArray<T, U20>
[src]fn from(slice: &[T; 20]) -> &GenericArray<T, U20>
[src]
impl<'a, T> From<&'a [T; 21]> for &'a GenericArray<T, U21>
[src]
impl<'a, T> From<&'a [T; 21]> for &'a GenericArray<T, U21>
[src]fn from(slice: &[T; 21]) -> &GenericArray<T, U21>
[src]
impl<'a, T> From<&'a [T; 22]> for &'a GenericArray<T, U22>
[src]
impl<'a, T> From<&'a [T; 22]> for &'a GenericArray<T, U22>
[src]fn from(slice: &[T; 22]) -> &GenericArray<T, U22>
[src]
impl<'a, T> From<&'a [T; 23]> for &'a GenericArray<T, U23>
[src]
impl<'a, T> From<&'a [T; 23]> for &'a GenericArray<T, U23>
[src]fn from(slice: &[T; 23]) -> &GenericArray<T, U23>
[src]
impl<'a, T> From<&'a [T; 24]> for &'a GenericArray<T, U24>
[src]
impl<'a, T> From<&'a [T; 24]> for &'a GenericArray<T, U24>
[src]fn from(slice: &[T; 24]) -> &GenericArray<T, U24>
[src]
impl<'a, T> From<&'a [T; 25]> for &'a GenericArray<T, U25>
[src]
impl<'a, T> From<&'a [T; 25]> for &'a GenericArray<T, U25>
[src]fn from(slice: &[T; 25]) -> &GenericArray<T, U25>
[src]
impl<'a, T> From<&'a [T; 26]> for &'a GenericArray<T, U26>
[src]
impl<'a, T> From<&'a [T; 26]> for &'a GenericArray<T, U26>
[src]fn from(slice: &[T; 26]) -> &GenericArray<T, U26>
[src]
impl<'a, T> From<&'a [T; 27]> for &'a GenericArray<T, U27>
[src]
impl<'a, T> From<&'a [T; 27]> for &'a GenericArray<T, U27>
[src]fn from(slice: &[T; 27]) -> &GenericArray<T, U27>
[src]
impl<'a, T> From<&'a [T; 28]> for &'a GenericArray<T, U28>
[src]
impl<'a, T> From<&'a [T; 28]> for &'a GenericArray<T, U28>
[src]fn from(slice: &[T; 28]) -> &GenericArray<T, U28>
[src]
impl<'a, T> From<&'a [T; 29]> for &'a GenericArray<T, U29>
[src]
impl<'a, T> From<&'a [T; 29]> for &'a GenericArray<T, U29>
[src]fn from(slice: &[T; 29]) -> &GenericArray<T, U29>
[src]
impl<'a, T> From<&'a [T; 3]> for &'a GenericArray<T, U3>
[src]
impl<'a, T> From<&'a [T; 3]> for &'a GenericArray<T, U3>
[src]fn from(slice: &[T; 3]) -> &GenericArray<T, U3>
[src]
impl<'a, T> From<&'a [T; 30]> for &'a GenericArray<T, U30>
[src]
impl<'a, T> From<&'a [T; 30]> for &'a GenericArray<T, U30>
[src]fn from(slice: &[T; 30]) -> &GenericArray<T, U30>
[src]
impl<'a, T> From<&'a [T; 31]> for &'a GenericArray<T, U31>
[src]
impl<'a, T> From<&'a [T; 31]> for &'a GenericArray<T, U31>
[src]fn from(slice: &[T; 31]) -> &GenericArray<T, U31>
[src]
impl<'a, T> From<&'a [T; 32]> for &'a GenericArray<T, U32>
[src]
impl<'a, T> From<&'a [T; 32]> for &'a GenericArray<T, U32>
[src]fn from(slice: &[T; 32]) -> &GenericArray<T, U32>
[src]
impl<'a, T> From<&'a [T; 4]> for &'a GenericArray<T, U4>
[src]
impl<'a, T> From<&'a [T; 4]> for &'a GenericArray<T, U4>
[src]fn from(slice: &[T; 4]) -> &GenericArray<T, U4>
[src]
impl<'a, T> From<&'a [T; 5]> for &'a GenericArray<T, U5>
[src]
impl<'a, T> From<&'a [T; 5]> for &'a GenericArray<T, U5>
[src]fn from(slice: &[T; 5]) -> &GenericArray<T, U5>
[src]
impl<'a, T> From<&'a [T; 6]> for &'a GenericArray<T, U6>
[src]
impl<'a, T> From<&'a [T; 6]> for &'a GenericArray<T, U6>
[src]fn from(slice: &[T; 6]) -> &GenericArray<T, U6>
[src]
impl<'a, T> From<&'a [T; 7]> for &'a GenericArray<T, U7>
[src]
impl<'a, T> From<&'a [T; 7]> for &'a GenericArray<T, U7>
[src]fn from(slice: &[T; 7]) -> &GenericArray<T, U7>
[src]
impl<'a, T> From<&'a [T; 8]> for &'a GenericArray<T, U8>
[src]
impl<'a, T> From<&'a [T; 8]> for &'a GenericArray<T, U8>
[src]fn from(slice: &[T; 8]) -> &GenericArray<T, U8>
[src]
impl<'a, T> From<&'a [T; 9]> for &'a GenericArray<T, U9>
[src]
impl<'a, T> From<&'a [T; 9]> for &'a GenericArray<T, U9>
[src]fn from(slice: &[T; 9]) -> &GenericArray<T, U9>
[src]
impl<'a, T, N: ArrayLength<T>> From<&'a [T]> for &'a GenericArray<T, N>
[src]
impl<'a, T, N: ArrayLength<T>> From<&'a [T]> for &'a GenericArray<T, N>
[src]fn from(slice: &[T]) -> &GenericArray<T, N>
[src]
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, U1>
[src]
impl<'a, T> From<&'a mut [T; 1]> for &'a mut GenericArray<T, U1>
[src]fn from(slice: &mut [T; 1]) -> &mut GenericArray<T, U1>
[src]
impl<'a, T> From<&'a mut [T; 10]> for &'a mut GenericArray<T, U10>
[src]
impl<'a, T> From<&'a mut [T; 10]> for &'a mut GenericArray<T, U10>
[src]fn from(slice: &mut [T; 10]) -> &mut GenericArray<T, U10>
[src]
impl<'a, T> From<&'a mut [T; 11]> for &'a mut GenericArray<T, U11>
[src]
impl<'a, T> From<&'a mut [T; 11]> for &'a mut GenericArray<T, U11>
[src]fn from(slice: &mut [T; 11]) -> &mut GenericArray<T, U11>
[src]
impl<'a, T> From<&'a mut [T; 12]> for &'a mut GenericArray<T, U12>
[src]
impl<'a, T> From<&'a mut [T; 12]> for &'a mut GenericArray<T, U12>
[src]fn from(slice: &mut [T; 12]) -> &mut GenericArray<T, U12>
[src]
impl<'a, T> From<&'a mut [T; 13]> for &'a mut GenericArray<T, U13>
[src]
impl<'a, T> From<&'a mut [T; 13]> for &'a mut GenericArray<T, U13>
[src]fn from(slice: &mut [T; 13]) -> &mut GenericArray<T, U13>
[src]
impl<'a, T> From<&'a mut [T; 14]> for &'a mut GenericArray<T, U14>
[src]
impl<'a, T> From<&'a mut [T; 14]> for &'a mut GenericArray<T, U14>
[src]fn from(slice: &mut [T; 14]) -> &mut GenericArray<T, U14>
[src]
impl<'a, T> From<&'a mut [T; 15]> for &'a mut GenericArray<T, U15>
[src]
impl<'a, T> From<&'a mut [T; 15]> for &'a mut GenericArray<T, U15>
[src]fn from(slice: &mut [T; 15]) -> &mut GenericArray<T, U15>
[src]
impl<'a, T> From<&'a mut [T; 16]> for &'a mut GenericArray<T, U16>
[src]
impl<'a, T> From<&'a mut [T; 16]> for &'a mut GenericArray<T, U16>
[src]fn from(slice: &mut [T; 16]) -> &mut GenericArray<T, U16>
[src]
impl<'a, T> From<&'a mut [T; 17]> for &'a mut GenericArray<T, U17>
[src]
impl<'a, T> From<&'a mut [T; 17]> for &'a mut GenericArray<T, U17>
[src]fn from(slice: &mut [T; 17]) -> &mut GenericArray<T, U17>
[src]
impl<'a, T> From<&'a mut [T; 18]> for &'a mut GenericArray<T, U18>
[src]
impl<'a, T> From<&'a mut [T; 18]> for &'a mut GenericArray<T, U18>
[src]fn from(slice: &mut [T; 18]) -> &mut GenericArray<T, U18>
[src]
impl<'a, T> From<&'a mut [T; 19]> for &'a mut GenericArray<T, U19>
[src]
impl<'a, T> From<&'a mut [T; 19]> for &'a mut GenericArray<T, U19>
[src]fn from(slice: &mut [T; 19]) -> &mut GenericArray<T, U19>
[src]
impl<'a, T> From<&'a mut [T; 2]> for &'a mut GenericArray<T, U2>
[src]
impl<'a, T> From<&'a mut [T; 2]> for &'a mut GenericArray<T, U2>
[src]fn from(slice: &mut [T; 2]) -> &mut GenericArray<T, U2>
[src]
impl<'a, T> From<&'a mut [T; 20]> for &'a mut GenericArray<T, U20>
[src]
impl<'a, T> From<&'a mut [T; 20]> for &'a mut GenericArray<T, U20>
[src]fn from(slice: &mut [T; 20]) -> &mut GenericArray<T, U20>
[src]
impl<'a, T> From<&'a mut [T; 21]> for &'a mut GenericArray<T, U21>
[src]
impl<'a, T> From<&'a mut [T; 21]> for &'a mut GenericArray<T, U21>
[src]fn from(slice: &mut [T; 21]) -> &mut GenericArray<T, U21>
[src]
impl<'a, T> From<&'a mut [T; 22]> for &'a mut GenericArray<T, U22>
[src]
impl<'a, T> From<&'a mut [T; 22]> for &'a mut GenericArray<T, U22>
[src]fn from(slice: &mut [T; 22]) -> &mut GenericArray<T, U22>
[src]
impl<'a, T> From<&'a mut [T; 23]> for &'a mut GenericArray<T, U23>
[src]
impl<'a, T> From<&'a mut [T; 23]> for &'a mut GenericArray<T, U23>
[src]fn from(slice: &mut [T; 23]) -> &mut GenericArray<T, U23>
[src]
impl<'a, T> From<&'a mut [T; 24]> for &'a mut GenericArray<T, U24>
[src]
impl<'a, T> From<&'a mut [T; 24]> for &'a mut GenericArray<T, U24>
[src]fn from(slice: &mut [T; 24]) -> &mut GenericArray<T, U24>
[src]
impl<'a, T> From<&'a mut [T; 25]> for &'a mut GenericArray<T, U25>
[src]
impl<'a, T> From<&'a mut [T; 25]> for &'a mut GenericArray<T, U25>
[src]fn from(slice: &mut [T; 25]) -> &mut GenericArray<T, U25>
[src]
impl<'a, T> From<&'a mut [T; 26]> for &'a mut GenericArray<T, U26>
[src]
impl<'a, T> From<&'a mut [T; 26]> for &'a mut GenericArray<T, U26>
[src]fn from(slice: &mut [T; 26]) -> &mut GenericArray<T, U26>
[src]
impl<'a, T> From<&'a mut [T; 27]> for &'a mut GenericArray<T, U27>
[src]
impl<'a, T> From<&'a mut [T; 27]> for &'a mut GenericArray<T, U27>
[src]fn from(slice: &mut [T; 27]) -> &mut GenericArray<T, U27>
[src]
impl<'a, T> From<&'a mut [T; 28]> for &'a mut GenericArray<T, U28>
[src]
impl<'a, T> From<&'a mut [T; 28]> for &'a mut GenericArray<T, U28>
[src]fn from(slice: &mut [T; 28]) -> &mut GenericArray<T, U28>
[src]
impl<'a, T> From<&'a mut [T; 29]> for &'a mut GenericArray<T, U29>
[src]
impl<'a, T> From<&'a mut [T; 29]> for &'a mut GenericArray<T, U29>
[src]fn from(slice: &mut [T; 29]) -> &mut GenericArray<T, U29>
[src]
impl<'a, T> From<&'a mut [T; 3]> for &'a mut GenericArray<T, U3>
[src]
impl<'a, T> From<&'a mut [T; 3]> for &'a mut GenericArray<T, U3>
[src]fn from(slice: &mut [T; 3]) -> &mut GenericArray<T, U3>
[src]
impl<'a, T> From<&'a mut [T; 30]> for &'a mut GenericArray<T, U30>
[src]
impl<'a, T> From<&'a mut [T; 30]> for &'a mut GenericArray<T, U30>
[src]fn from(slice: &mut [T; 30]) -> &mut GenericArray<T, U30>
[src]
impl<'a, T> From<&'a mut [T; 31]> for &'a mut GenericArray<T, U31>
[src]
impl<'a, T> From<&'a mut [T; 31]> for &'a mut GenericArray<T, U31>
[src]fn from(slice: &mut [T; 31]) -> &mut GenericArray<T, U31>
[src]
impl<'a, T> From<&'a mut [T; 32]> for &'a mut GenericArray<T, U32>
[src]
impl<'a, T> From<&'a mut [T; 32]> for &'a mut GenericArray<T, U32>
[src]fn from(slice: &mut [T; 32]) -> &mut GenericArray<T, U32>
[src]
impl<'a, T> From<&'a mut [T; 4]> for &'a mut GenericArray<T, U4>
[src]
impl<'a, T> From<&'a mut [T; 4]> for &'a mut GenericArray<T, U4>
[src]fn from(slice: &mut [T; 4]) -> &mut GenericArray<T, U4>
[src]
impl<'a, T> From<&'a mut [T; 5]> for &'a mut GenericArray<T, U5>
[src]
impl<'a, T> From<&'a mut [T; 5]> for &'a mut GenericArray<T, U5>
[src]fn from(slice: &mut [T; 5]) -> &mut GenericArray<T, U5>
[src]
impl<'a, T> From<&'a mut [T; 6]> for &'a mut GenericArray<T, U6>
[src]
impl<'a, T> From<&'a mut [T; 6]> for &'a mut GenericArray<T, U6>
[src]fn from(slice: &mut [T; 6]) -> &mut GenericArray<T, U6>
[src]
impl<'a, T> From<&'a mut [T; 7]> for &'a mut GenericArray<T, U7>
[src]
impl<'a, T> From<&'a mut [T; 7]> for &'a mut GenericArray<T, U7>
[src]fn from(slice: &mut [T; 7]) -> &mut GenericArray<T, U7>
[src]
impl<'a, T> From<&'a mut [T; 8]> for &'a mut GenericArray<T, U8>
[src]
impl<'a, T> From<&'a mut [T; 8]> for &'a mut GenericArray<T, U8>
[src]fn from(slice: &mut [T; 8]) -> &mut GenericArray<T, U8>
[src]
impl<'a, T> From<&'a mut [T; 9]> for &'a mut GenericArray<T, U9>
[src]
impl<'a, T> From<&'a mut [T; 9]> for &'a mut GenericArray<T, U9>
[src]fn from(slice: &mut [T; 9]) -> &mut GenericArray<T, U9>
[src]
impl<'a, T, N: ArrayLength<T>> From<&'a mut [T]> for &'a mut GenericArray<T, N>
[src]
impl<'a, T, N: ArrayLength<T>> From<&'a mut [T]> for &'a mut GenericArray<T, N>
[src]fn from(slice: &mut [T]) -> &mut GenericArray<T, N>
[src]
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<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for [T; 32]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for [T; 32]
[src]fn from(sel: GenericArray<T, U32>) -> [T; 32]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>> for [T; 16]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>> for [T; 16]
[src]fn from(sel: GenericArray<T, U16>) -> [T; 16]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>>> for [T; 17]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>>> for [T; 17]
[src]fn from(sel: GenericArray<T, U17>) -> [T; 17]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>>> for [T; 18]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>>> for [T; 18]
[src]fn from(sel: GenericArray<T, U18>) -> [T; 18]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>>> for [T; 19]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>>> for [T; 19]
[src]fn from(sel: GenericArray<T, U19>) -> [T; 19]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>>> for [T; 20]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>>> for [T; 20]
[src]fn from(sel: GenericArray<T, U20>) -> [T; 20]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>>> for [T; 21]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>>> for [T; 21]
[src]fn from(sel: GenericArray<T, U21>) -> [T; 21]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>>> for [T; 22]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>>> for [T; 22]
[src]fn from(sel: GenericArray<T, U22>) -> [T; 22]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>>> for [T; 23]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>>> for [T; 23]
[src]fn from(sel: GenericArray<T, U23>) -> [T; 23]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>> for [T; 24]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>> for [T; 24]
[src]fn from(sel: GenericArray<T, U24>) -> [T; 24]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>>> for [T; 25]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>>> for [T; 25]
[src]fn from(sel: GenericArray<T, U25>) -> [T; 25]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>>> for [T; 26]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>>> for [T; 26]
[src]fn from(sel: GenericArray<T, U26>) -> [T; 26]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>>> for [T; 27]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>>> for [T; 27]
[src]fn from(sel: GenericArray<T, U27>) -> [T; 27]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>> for [T; 28]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>> for [T; 28]
[src]fn from(sel: GenericArray<T, U28>) -> [T; 28]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>>> for [T; 29]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>>> for [T; 29]
[src]fn from(sel: GenericArray<T, U29>) -> [T; 29]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>>> for [T; 30]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>>> for [T; 30]
[src]fn from(sel: GenericArray<T, U30>) -> [T; 30]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>>> for [T; 31]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>>> for [T; 31]
[src]fn from(sel: GenericArray<T, U31>) -> [T; 31]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>> for [T; 8]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>> for [T; 8]
[src]fn from(sel: GenericArray<T, U8>) -> [T; 8]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>>> for [T; 9]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>>> for [T; 9]
[src]fn from(sel: GenericArray<T, U9>) -> [T; 9]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>> for [T; 10]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>> for [T; 10]
[src]fn from(sel: GenericArray<T, U10>) -> [T; 10]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>>> for [T; 11]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>>> for [T; 11]
[src]fn from(sel: GenericArray<T, U11>) -> [T; 11]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>> for [T; 12]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>> for [T; 12]
[src]fn from(sel: GenericArray<T, U12>) -> [T; 12]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>>> for [T; 13]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>>> for [T; 13]
[src]fn from(sel: GenericArray<T, U13>) -> [T; 13]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>>> for [T; 14]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>>> for [T; 14]
[src]fn from(sel: GenericArray<T, U14>) -> [T; 14]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>>> for [T; 15]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>>> for [T; 15]
[src]fn from(sel: GenericArray<T, U15>) -> [T; 15]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B0>>> for [T; 4]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B0>>> for [T; 4]
[src]fn from(sel: GenericArray<T, U4>) -> [T; 4]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>> for [T; 5]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>> for [T; 5]
[src]fn from(sel: GenericArray<T, U5>) -> [T; 5]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>> for [T; 6]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>> for [T; 6]
[src]fn from(sel: GenericArray<T, U6>) -> [T; 6]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B1>>> for [T; 7]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B1>>> for [T; 7]
[src]fn from(sel: GenericArray<T, U7>) -> [T; 7]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UTerm, B1>, B0>>> for [T; 2]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UTerm, B1>, B0>>> for [T; 2]
[src]fn from(sel: GenericArray<T, U2>) -> [T; 2]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UTerm, B1>, B1>>> for [T; 3]
[src]
impl<T> From<GenericArray<T, UInt<UInt<UTerm, B1>, B1>>> for [T; 3]
[src]fn from(sel: GenericArray<T, U3>) -> [T; 3]
[src]
impl<T> From<GenericArray<T, UInt<UTerm, B1>>> for [T; 1]
[src]
impl<T> From<GenericArray<T, UInt<UTerm, B1>>> for [T; 1]
[src]fn from(sel: GenericArray<T, U1>) -> [T; 1]
[src]
impl<T, N> FromIterator<T> for GenericArray<T, N> where
N: ArrayLength<T>,
[src]
impl<T, N> FromIterator<T> for GenericArray<T, N> where
N: ArrayLength<T>,
[src]fn from_iter<I>(iter: I) -> GenericArray<T, N> where
I: IntoIterator<Item = T>,
[src]
I: IntoIterator<Item = T>,
impl<T, N> FunctionalSequence<T> for GenericArray<T, N> where
N: ArrayLength<T>,
Self: GenericSequence<T, Item = T, Length = N>,
[src]
impl<T, N> FunctionalSequence<T> for GenericArray<T, N> where
N: ArrayLength<T>,
Self: GenericSequence<T, Item = T, Length = N>,
[src]fn map<U, F>(self, f: F) -> MappedSequence<Self, T, U> where
Self::Length: ArrayLength<U>,
Self: MappedGenericSequence<T, U>,
F: FnMut(T) -> U,
[src]
Self::Length: ArrayLength<U>,
Self: MappedGenericSequence<T, U>,
F: FnMut(T) -> U,
fn zip<B, Rhs, U, F>(self, rhs: Rhs, f: F) -> MappedSequence<Self, T, U> where
Self: MappedGenericSequence<T, U>,
Rhs: MappedGenericSequence<B, U, Mapped = MappedSequence<Self, T, U>>,
Self::Length: ArrayLength<B> + ArrayLength<U>,
Rhs: GenericSequence<B, Length = Self::Length>,
F: FnMut(T, Rhs::Item) -> U,
[src]
Self: MappedGenericSequence<T, U>,
Rhs: MappedGenericSequence<B, U, Mapped = MappedSequence<Self, T, U>>,
Self::Length: ArrayLength<B> + ArrayLength<U>,
Rhs: GenericSequence<B, Length = Self::Length>,
F: FnMut(T, Rhs::Item) -> U,
fn fold<U, F>(self, init: U, f: F) -> U where
F: FnMut(U, T) -> U,
[src]
F: FnMut(U, T) -> U,
impl<T, N> GenericSequence<T> for GenericArray<T, N> where
N: ArrayLength<T>,
Self: IntoIterator<Item = T>,
[src]
impl<T, N> GenericSequence<T> for GenericArray<T, N> where
N: ArrayLength<T>,
Self: IntoIterator<Item = T>,
[src]impl<T: Hash, N> Hash for GenericArray<T, N> where
N: ArrayLength<T>,
[src]
impl<T: Hash, N> Hash for GenericArray<T, N> where
N: ArrayLength<T>,
[src]impl<T, N> IntoIterator for GenericArray<T, N> where
N: ArrayLength<T>,
[src]
impl<T, N> IntoIterator for GenericArray<T, N> where
N: ArrayLength<T>,
[src]impl<'a, T: 'a, N> IntoIterator for &'a GenericArray<T, N> where
N: ArrayLength<T>,
[src]
impl<'a, T: 'a, N> IntoIterator for &'a GenericArray<T, N> where
N: ArrayLength<T>,
[src]impl<'a, T: 'a, N> IntoIterator for &'a mut GenericArray<T, N> where
N: ArrayLength<T>,
[src]
impl<'a, T: 'a, N> IntoIterator for &'a mut GenericArray<T, N> where
N: ArrayLength<T>,
[src]impl<T, N: ArrayLength<T>> Lengthen<T> for GenericArray<T, N> where
N: Add<B1>,
Add1<N>: ArrayLength<T>,
Add1<N>: Sub<B1, Output = N>,
Sub1<Add1<N>>: ArrayLength<T>,
[src]
impl<T, N: ArrayLength<T>> Lengthen<T> for GenericArray<T, N> where
N: Add<B1>,
Add1<N>: ArrayLength<T>,
Add1<N>: Sub<B1, Output = N>,
Sub1<Add1<N>>: ArrayLength<T>,
[src]impl<T: ArrayLength<u8>> LowerHex for GenericArray<u8, T> where
T: Add<T>,
<T as Add<T>>::Output: ArrayLength<u8>,
[src]
impl<T: ArrayLength<u8>> LowerHex for GenericArray<u8, T> where
T: Add<T>,
<T as Add<T>>::Output: ArrayLength<u8>,
[src]impl<T, U, N> MappedGenericSequence<T, U> for GenericArray<T, N> where
N: ArrayLength<T> + ArrayLength<U>,
GenericArray<U, N>: GenericSequence<U, Length = N>,
[src]
impl<T, U, N> MappedGenericSequence<T, U> for GenericArray<T, N> where
N: ArrayLength<T> + ArrayLength<U>,
GenericArray<U, N>: GenericSequence<U, Length = N>,
[src]type Mapped = GenericArray<U, N>
Mapped sequence type
impl<T: Ord, N> Ord for GenericArray<T, N> where
N: ArrayLength<T>,
[src]
impl<T: Ord, N> Ord for GenericArray<T, N> where
N: ArrayLength<T>,
[src]impl<T: PartialEq, N> PartialEq<GenericArray<T, N>> for GenericArray<T, N> where
N: ArrayLength<T>,
[src]
impl<T: PartialEq, N> PartialEq<GenericArray<T, N>> for GenericArray<T, N> where
N: ArrayLength<T>,
[src]impl<T: PartialOrd, N> PartialOrd<GenericArray<T, N>> for GenericArray<T, N> where
N: ArrayLength<T>,
[src]
impl<T: PartialOrd, N> PartialOrd<GenericArray<T, N>> for GenericArray<T, N> where
N: ArrayLength<T>,
[src]fn partial_cmp(&self, other: &GenericArray<T, N>) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T, N: ArrayLength<T>> Shorten<T> for GenericArray<T, N> where
N: Sub<B1>,
Sub1<N>: ArrayLength<T>,
Sub1<N>: Add<B1, Output = N>,
Add1<Sub1<N>>: ArrayLength<T>,
[src]
impl<T, N: ArrayLength<T>> Shorten<T> for GenericArray<T, N> where
N: Sub<B1>,
Sub1<N>: ArrayLength<T>,
Sub1<N>: Add<B1, Output = N>,
Add1<Sub1<N>>: ArrayLength<T>,
[src]impl<T, N, K> Split<T, K> for GenericArray<T, N> where
N: ArrayLength<T>,
K: ArrayLength<T>,
N: Sub<K>,
Diff<N, K>: ArrayLength<T>,
[src]
impl<T, N, K> Split<T, K> for GenericArray<T, N> where
N: ArrayLength<T>,
K: ArrayLength<T>,
N: Sub<K>,
Diff<N, K>: ArrayLength<T>,
[src]type First = GenericArray<T, K>
First part of the resulting split array
type Second = GenericArray<T, Diff<N, K>>
Second part of the resulting split array
fn split(self) -> (Self::First, Self::Second)
[src]
impl<'a, T, N, K> Split<T, K> for &'a GenericArray<T, N> where
N: ArrayLength<T>,
K: ArrayLength<T> + 'static,
N: Sub<K>,
Diff<N, K>: ArrayLength<T>,
[src]
impl<'a, T, N, K> Split<T, K> for &'a GenericArray<T, N> where
N: ArrayLength<T>,
K: ArrayLength<T> + 'static,
N: Sub<K>,
Diff<N, K>: ArrayLength<T>,
[src]type First = &'a GenericArray<T, K>
First part of the resulting split array
type Second = &'a GenericArray<T, Diff<N, K>>
Second part of the resulting split array
fn split(self) -> (Self::First, Self::Second)
[src]
impl<'a, T, N, K> Split<T, K> for &'a mut GenericArray<T, N> where
N: ArrayLength<T>,
K: ArrayLength<T> + 'static,
N: Sub<K>,
Diff<N, K>: ArrayLength<T>,
[src]
impl<'a, T, N, K> Split<T, K> for &'a mut GenericArray<T, N> where
N: ArrayLength<T>,
K: ArrayLength<T> + 'static,
N: Sub<K>,
Diff<N, K>: ArrayLength<T>,
[src]type First = &'a mut GenericArray<T, K>
First part of the resulting split array
type Second = &'a mut GenericArray<T, Diff<N, K>>
Second part of the resulting split array
fn split(self) -> (Self::First, Self::Second)
[src]
impl<T: ArrayLength<u8>> UpperHex for GenericArray<u8, T> where
T: Add<T>,
<T as Add<T>>::Output: ArrayLength<u8>,
[src]
impl<T: ArrayLength<u8>> UpperHex for GenericArray<u8, T> where
T: Add<T>,
<T as Add<T>>::Output: ArrayLength<u8>,
[src]impl<T: Copy, N> Copy for GenericArray<T, N> where
N: ArrayLength<T>,
N::ArrayType: Copy,
[src]
N: ArrayLength<T>,
N::ArrayType: Copy,
impl<T: Eq, N> Eq for GenericArray<T, N> where
N: ArrayLength<T>,
[src]
N: ArrayLength<T>,
impl<T: Send, N: ArrayLength<T>> Send for GenericArray<T, N>
[src]
impl<T: Sync, N: ArrayLength<T>> Sync for GenericArray<T, N>
[src]
Auto Trait Implementations
impl<T, U> Unpin for GenericArray<T, U> where
<U as ArrayLength<T>>::ArrayType: Unpin,
<U as ArrayLength<T>>::ArrayType: Unpin,