Struct rust_extra::arrays::Array80
[−]
[src]
#[repr(C, packed)]pub struct Array80<T>(pub [T; 80]);
Trait Implementations
impl<T> Array<T> for Array80<T>
[src]
const Size: usize
Size: usize = 80
const Mask: usize
Mask: usize = 80 - 1
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
impl<T: Copy> Copy for Array80<T>
[src]
impl<T: Copy> Clone for Array80<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 Array80<T>
[src]
impl<T: PartialEq> PartialEq for Array80<T>
[src]
fn eq(&self, other: &Array80<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl<T: Eq> Eq for Array80<T>
[src]
impl<T: PartialOrd> PartialOrd for Array80<T>
[src]
fn partial_cmp(&self, other: &Array80<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Array80<T>) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Array80<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: &Array80<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: &Array80<T>) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl<T: Ord> Ord for Array80<T>
[src]
fn cmp(&self, other: &Array80<T>) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl<T: Hash> Hash for Array80<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 Array80<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 Array80<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