[−][src]Struct cl_traits::ArrayWrapper
Arbitrary length array wrapper. This structure is necessary for third-party and std implementations.
Methods
impl<T, const N: usize> ArrayWrapper<T, N>[src]
Trait Implementations
impl<T, const N: usize> AsMut<[T; N]> for ArrayWrapper<T, N>[src]
impl<T, const N: usize> AsMut<[T]> for ArrayWrapper<T, N>[src]
impl<T, const N: usize> AsRef<[T; N]> for ArrayWrapper<T, N>[src]
impl<T, const N: usize> AsRef<[T]> for ArrayWrapper<T, N>[src]
impl<T, const N: usize> Borrow<[T; N]> for ArrayWrapper<T, N>[src]
impl<T, const N: usize> Borrow<[T]> for ArrayWrapper<T, N>[src]
impl<'_, T, const N: usize> Borrow<[T]> for &'_ ArrayWrapper<T, N>[src]
impl<T, const N: usize> BorrowMut<[T; N]> for ArrayWrapper<T, N>[src]
fn borrow_mut(&mut self) -> &mut [T; N][src]
impl<T, const N: usize> BorrowMut<[T]> for ArrayWrapper<T, N>[src]
fn borrow_mut(&mut self) -> &mut [T][src]
impl<T, const N: usize> Clone for ArrayWrapper<T, N> where
T: Clone, [src]
T: Clone,
fn clone(&self) -> Self[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<T, const N: usize> Copy for ArrayWrapper<T, N> where
T: Copy, [src]
T: Copy,
impl<T, const N: usize> Debug for ArrayWrapper<T, N> where
T: Debug, [src]
T: Debug,
impl<T, const N: usize> Default for ArrayWrapper<T, N> where
T: Default, [src]
T: Default,
impl<T, const N: usize> Deref for ArrayWrapper<T, N>[src]
impl<T, const N: usize> DerefMut for ArrayWrapper<T, N>[src]
impl<T, const N: usize> Eq for ArrayWrapper<T, N> where
T: Eq, [src]
T: Eq,
impl<T, const N: usize> From<[T; N]> for ArrayWrapper<T, N>[src]
impl<T, const N: usize> From<ArrayWrapper<T, N>> for [T; N][src]
fn from(from: ArrayWrapper<T, N>) -> Self[src]
impl<I, T, const N: usize> Index<I> for ArrayWrapper<T, N> where
I: SliceIndex<[T]>, [src]
I: SliceIndex<[T]>,
type Output = <I as SliceIndex<[T]>>::Output
The returned type after indexing.
fn index(&self, idx: I) -> &Self::Output[src]
impl<I, T, const N: usize> IndexMut<I> for ArrayWrapper<T, N> where
I: SliceIndex<[T]>, [src]
I: SliceIndex<[T]>,
impl<'a, T, const N: usize> IntoIterator for &'a ArrayWrapper<T, N>[src]
type Item = &'a T
The type of the elements being iterated over.
type IntoIter = Iter<'a, T>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter[src]
impl<'a, T, const N: usize> IntoIterator for &'a mut ArrayWrapper<T, N>[src]
type Item = &'a mut T
The type of the elements being iterated over.
type IntoIter = IterMut<'a, T>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter[src]
impl<T, const N: usize> Ord for ArrayWrapper<T, N> where
T: Ord, [src]
T: Ord,
fn cmp(&self, other: &Self) -> Ordering[src]
#[must_use]
fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]
fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]
fn clamp(self, min: Self, max: Self) -> Self[src]
impl<T, const N: usize> PartialEq<ArrayWrapper<T, N>> for ArrayWrapper<T, N> where
T: PartialEq, [src]
T: PartialEq,
impl<T, const N: usize> PartialOrd<ArrayWrapper<T, N>> for ArrayWrapper<T, N> where
T: PartialOrd, [src]
T: PartialOrd,
Auto Trait Implementations
impl<const N: usize, T> Send for ArrayWrapper<T, N> where
T: Send,
T: Send,
impl<const N: usize, T> Sync for ArrayWrapper<T, N> where
T: Sync,
T: Sync,
impl<const N: usize, T> Unpin for ArrayWrapper<T, N> where
T: Unpin,
T: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,