#[repr(C, packed(1))]pub struct Array46<T>(pub [T; 46]);
Tuple Fields§
§0: [T; 46]
Trait Implementations§
Source§impl<T> Array<T> for Array46<T>
impl<T> Array<T> for Array46<T>
const Size: usize = 46usize
const Mask: usize = 45usize
unsafe fn get_unchecked(&self, index: usize) -> &T
unsafe fn get_unchecked_mut(&mut self, index: usize) -> &mut T
fn as_ptr(&self) -> *const T
fn as_mut_ptr(&mut self) -> *mut T
fn mask() -> usize
fn as_ptr_at(&self, index: usize) -> *const T
fn as_mut_ptr_at(&mut self, index: usize) -> *mut T
Source§impl<'a, T> IntoIterator for &'a Array46<T>
impl<'a, T> IntoIterator for &'a Array46<T>
Source§impl<'a, T> IntoIterator for &'a mut Array46<T>
impl<'a, T> IntoIterator for &'a mut Array46<T>
Source§impl<T: Ord> Ord for Array46<T>
impl<T: Ord> Ord for Array46<T>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialOrd> PartialOrd for Array46<T>
impl<T: PartialOrd> PartialOrd for Array46<T>
impl<T: Copy> Copy for Array46<T>
impl<T: Eq> Eq for Array46<T>
Auto Trait Implementations§
impl<T> Freeze for Array46<T>where
T: Freeze,
impl<T> RefUnwindSafe for Array46<T>where
T: RefUnwindSafe,
impl<T> Send for Array46<T>where
T: Send,
impl<T> Sync for Array46<T>where
T: Sync,
impl<T> Unpin for Array46<T>where
T: Unpin,
impl<T> UnwindSafe for Array46<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more