Struct rust_extra::arrays::Array64
[−]
[src]
#[repr(C, packed)]pub struct Array64<T>(pub [T; 64]);
Trait Implementations
impl<T> Array<T> for Array64<T>[src]
const Size: usize
Size: usize = 64
const Mask: usize
Mask: usize = 64 - 1
unsafe fn get_unchecked(&self, index: usize) -> &T
unsafe fn get_unchecked_mut(&mut self, index: usize) -> &mut T
fn mask() -> usize
impl<T: Copy> Copy for Array64<T>[src]
impl<T: Copy> Clone for Array64<T>[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<T: Debug> Debug for Array64<T>[src]
impl<T: PartialEq> PartialEq for Array64<T>[src]
fn eq(&self, other: &Array64<T>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl<T: Eq> Eq for Array64<T>[src]
impl<T: PartialOrd> PartialOrd for Array64<T>[src]
fn partial_cmp(&self, other: &Array64<T>) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Array64<T>) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Array64<T>) -> bool
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn ge(&self, other: &Array64<T>) -> bool
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
fn gt(&self, other: &Array64<T>) -> bool
This method tests greater than (for self and other) and is used by the > operator. Read more
impl<T: Ord> Ord for Array64<T>[src]
fn cmp(&self, other: &Array64<T>) -> Ordering
This method returns an Ordering between self and other. Read more
impl<T: Hash> Hash for Array64<T>[src]
fn hash<H: Hasher>(&self, state: &mut H)
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl<'a, T> IntoIterator for &'a Array64<T>[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) -> Iter<'a, T>
Creates an iterator from a value. Read more
impl<'a, T> IntoIterator for &'a mut Array64<T>[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) -> IterMut<'a, T>
Creates an iterator from a value. Read more