Struct mtree::Array64 [−]
A newtype around an array. All traits are implemented as you would expect on the raw array.
Trait Implementations
impl<T: Copy> Copy for Array64<T>
impl<T: Copy> Copy for Array64<T>
impl<T: Clone> Clone for Array64<T>
impl<T: Clone> Clone for Array64<T>
fn clone(&self) -> Array64<T>
fn clone(&self) -> Array64<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<T> AsRef<[T]> for Array64<T>
impl<T> AsRef<[T]> for Array64<T>
impl<T> AsMut<[T]> for Array64<T>
impl<T> AsMut<[T]> for Array64<T>
impl<T> Borrow<[T]> for Array64<T>
impl<T> Borrow<[T]> for Array64<T>
impl<T> BorrowMut<[T]> for Array64<T>
impl<T> BorrowMut<[T]> for Array64<T>
fn borrow_mut(&mut self) -> &mut [T]
fn borrow_mut(&mut self) -> &mut [T]
Mutably borrows from an owned value. Read more
impl<T: Hash> Hash for Array64<T>
impl<T: Hash> Hash for Array64<T>
fn hash<H: Hasher>(&self, state: &mut H)
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[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<T: Debug> Debug for Array64<T>
impl<T: Debug> Debug for Array64<T>
impl<'a, T> IntoIterator for &'a Array64<T>
impl<'a, T> IntoIterator for &'a Array64<T>
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>
fn into_iter(self) -> Iter<'a, T>
Creates an iterator from a value. Read more
impl<'a, T> IntoIterator for &'a mut Array64<T>
impl<'a, T> IntoIterator for &'a mut Array64<T>
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>
fn into_iter(self) -> IterMut<'a, T>
Creates an iterator from a value. Read more
impl<'a, 'b, A: Sized, B> PartialEq<Array64<B>> for Array64<A> where
A: PartialEq<B>,
impl<'a, 'b, A: Sized, B> PartialEq<Array64<B>> for Array64<A> where
A: PartialEq<B>,
fn eq(&self, other: &Array64<B>) -> bool
fn eq(&self, other: &Array64<B>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Array64<B>) -> bool
fn ne(&self, other: &Array64<B>) -> bool
This method tests for !=
.
impl<T: Eq> Eq for Array64<T>
impl<T: Eq> Eq for Array64<T>
impl<T: PartialOrd> PartialOrd for Array64<T>
impl<T: PartialOrd> PartialOrd for Array64<T>
fn partial_cmp(&self, other: &Array64<T>) -> Option<Ordering>
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
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
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
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
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>
impl<T: Ord> Ord for Array64<T>
fn cmp(&self, other: &Array64<T>) -> Ordering
fn cmp(&self, other: &Array64<T>) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl<T> Index<usize> for Array64<T>
impl<T> Index<usize> for Array64<T>
type Output = T
The returned type after indexing.
fn index(&self, idx: usize) -> &T
fn index(&self, idx: usize) -> &T
Performs the indexing (container[index]
) operation.
impl<T> IndexMut<usize> for Array64<T>
impl<T> IndexMut<usize> for Array64<T>
fn index_mut(&mut self, idx: usize) -> &mut T
fn index_mut(&mut self, idx: usize) -> &mut T
Performs the mutable indexing (container[index]
) operation.
impl<T> Index<Range<usize>> for Array64<T>
impl<T> Index<Range<usize>> for Array64<T>
type Output = [T]
The returned type after indexing.
fn index(&self, index: Range<usize>) -> &[T]
fn index(&self, index: Range<usize>) -> &[T]
Performs the indexing (container[index]
) operation.
impl<T> IndexMut<Range<usize>> for Array64<T>
impl<T> IndexMut<Range<usize>> for Array64<T>
fn index_mut(&mut self, index: Range<usize>) -> &mut [T]
fn index_mut(&mut self, index: Range<usize>) -> &mut [T]
Performs the mutable indexing (container[index]
) operation.
impl<T> Index<RangeFrom<usize>> for Array64<T>
impl<T> Index<RangeFrom<usize>> for Array64<T>
type Output = [T]
The returned type after indexing.
fn index(&self, index: RangeFrom<usize>) -> &[T]
fn index(&self, index: RangeFrom<usize>) -> &[T]
Performs the indexing (container[index]
) operation.
impl<T> IndexMut<RangeFrom<usize>> for Array64<T>
impl<T> IndexMut<RangeFrom<usize>> for Array64<T>
fn index_mut(&mut self, index: RangeFrom<usize>) -> &mut [T]
fn index_mut(&mut self, index: RangeFrom<usize>) -> &mut [T]
Performs the mutable indexing (container[index]
) operation.
impl<T> Index<RangeTo<usize>> for Array64<T>
impl<T> Index<RangeTo<usize>> for Array64<T>
type Output = [T]
The returned type after indexing.
fn index(&self, index: RangeTo<usize>) -> &[T]
fn index(&self, index: RangeTo<usize>) -> &[T]
Performs the indexing (container[index]
) operation.
impl<T> IndexMut<RangeTo<usize>> for Array64<T>
impl<T> IndexMut<RangeTo<usize>> for Array64<T>
fn index_mut(&mut self, index: RangeTo<usize>) -> &mut [T]
fn index_mut(&mut self, index: RangeTo<usize>) -> &mut [T]
Performs the mutable indexing (container[index]
) operation.
impl<T> Index<RangeInclusive<usize>> for Array64<T>
impl<T> Index<RangeInclusive<usize>> for Array64<T>
type Output = [T]
The returned type after indexing.
fn index(&self, index: RangeInclusive<usize>) -> &[T]
fn index(&self, index: RangeInclusive<usize>) -> &[T]
Performs the indexing (container[index]
) operation.
impl<T> IndexMut<RangeInclusive<usize>> for Array64<T>
impl<T> IndexMut<RangeInclusive<usize>> for Array64<T>
fn index_mut(&mut self, index: RangeInclusive<usize>) -> &mut [T]
fn index_mut(&mut self, index: RangeInclusive<usize>) -> &mut [T]
Performs the mutable indexing (container[index]
) operation.
impl<T> Index<RangeToInclusive<usize>> for Array64<T>
impl<T> Index<RangeToInclusive<usize>> for Array64<T>
type Output = [T]
The returned type after indexing.
fn index(&self, index: RangeToInclusive<usize>) -> &[T]
fn index(&self, index: RangeToInclusive<usize>) -> &[T]
Performs the indexing (container[index]
) operation.
impl<T> IndexMut<RangeToInclusive<usize>> for Array64<T>
impl<T> IndexMut<RangeToInclusive<usize>> for Array64<T>
fn index_mut(&mut self, index: RangeToInclusive<usize>) -> &mut [T]
fn index_mut(&mut self, index: RangeToInclusive<usize>) -> &mut [T]
Performs the mutable indexing (container[index]
) operation.
impl<T> Index<RangeFull> for Array64<T>
impl<T> Index<RangeFull> for Array64<T>
type Output = [T]
The returned type after indexing.
fn index(&self, index: RangeFull) -> &[T]
fn index(&self, index: RangeFull) -> &[T]
Performs the indexing (container[index]
) operation.
impl<T> IndexMut<RangeFull> for Array64<T>
impl<T> IndexMut<RangeFull> for Array64<T>
fn index_mut(&mut self, index: RangeFull) -> &mut [T]
fn index_mut(&mut self, index: RangeFull) -> &mut [T]
Performs the mutable indexing (container[index]
) operation.
impl<T> From<[T; 64]> for Array64<T>
impl<T> From<[T; 64]> for Array64<T>
impl<T> Into<[T; 64]> for Array64<T>
impl<T> Into<[T; 64]> for Array64<T>