Struct mtree::Array64[]

pub struct Array64<T>(pub [T; 64]);

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: Clone> Clone for Array64<T>

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T> AsRef<[T]> for Array64<T>

Performs the conversion.

impl<T> AsMut<[T]> for Array64<T>

Performs the conversion.

impl<T> Borrow<[T]> for Array64<T>

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<[T]> for Array64<T>

Mutably borrows from an owned value. Read more

impl<T: Hash> Hash for Array64<T>

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<T: Debug> Debug for Array64<T>

Formats the value using the given formatter. Read more

impl<'a, T> IntoIterator for &'a Array64<T>

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl<'a, T> IntoIterator for &'a mut Array64<T>

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl<'a, 'b, A: Sized, B> PartialEq<Array64<B>> for Array64<A> where
    A: PartialEq<B>, 

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Eq> Eq for Array64<T>

impl<T: PartialOrd> PartialOrd for Array64<T>

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

impl<T: Ord> Ord for Array64<T>

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl<T> Index<usize> for Array64<T>

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl<T> IndexMut<usize> for Array64<T>

Performs the mutable indexing (container[index]) operation.

impl<T> Index<Range<usize>> for Array64<T>

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl<T> IndexMut<Range<usize>> for Array64<T>

Performs the mutable indexing (container[index]) operation.

impl<T> Index<RangeFrom<usize>> for Array64<T>

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl<T> IndexMut<RangeFrom<usize>> for Array64<T>

Performs the mutable indexing (container[index]) operation.

impl<T> Index<RangeTo<usize>> for Array64<T>

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl<T> IndexMut<RangeTo<usize>> for Array64<T>

Performs the mutable indexing (container[index]) operation.

impl<T> Index<RangeInclusive<usize>> for Array64<T>

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl<T> IndexMut<RangeInclusive<usize>> for Array64<T>

Performs the mutable indexing (container[index]) operation.

impl<T> Index<RangeToInclusive<usize>> for Array64<T>

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl<T> IndexMut<RangeToInclusive<usize>> for Array64<T>

Performs the mutable indexing (container[index]) operation.

impl<T> Index<RangeFull> for Array64<T>

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl<T> IndexMut<RangeFull> for Array64<T>

Performs the mutable indexing (container[index]) operation.

impl<T> From<[T; 64]> for Array64<T>

Performs the conversion.

impl<T> Into<[T; 64]> for Array64<T>

Performs the conversion.

Auto Trait Implementations

impl<T> Send for Array64<T> where
    T: Send

impl<T> Sync for Array64<T> where
    T: Sync