#[repr(C, packed(1))]pub struct Array512<T>(pub [T; 512]);
Tuple Fields§
§0: [T; 512]
Trait Implementations§
Source§impl<T> Array<T> for Array512<T>
impl<T> Array<T> for Array512<T>
const Size: usize = 512usize
const Mask: usize = 511usize
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 Array512<T>
impl<'a, T> IntoIterator for &'a Array512<T>
Source§impl<'a, T> IntoIterator for &'a mut Array512<T>
impl<'a, T> IntoIterator for &'a mut Array512<T>
Source§impl<T: Ord> Ord for Array512<T>
impl<T: Ord> Ord for Array512<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 Array512<T>
impl<T: PartialOrd> PartialOrd for Array512<T>
impl<T: Copy> Copy for Array512<T>
impl<T: Eq> Eq for Array512<T>
Auto Trait Implementations§
impl<T> Freeze for Array512<T>where
T: Freeze,
impl<T> RefUnwindSafe for Array512<T>where
T: RefUnwindSafe,
impl<T> Send for Array512<T>where
T: Send,
impl<T> Sync for Array512<T>where
T: Sync,
impl<T> Unpin for Array512<T>where
T: Unpin,
impl<T> UnwindSafe for Array512<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