Struct mtree::Array48[]

pub struct Array48<T>(pub [T; 48]);

A newtype around an array. All traits are implemented as you would expect on the raw array.

Trait Implementations

impl<T: Copy> Copy for Array48<T>

impl<T: Clone> Clone for Array48<T>

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Performs the conversion.

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

Performs the conversion.

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

Immutably borrows from an owned value. Read more

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

Mutably borrows from an owned value. Read more

impl<T: Hash> Hash for Array48<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 Array48<T>

Formats the value using the given formatter. Read more

impl<'a, T> IntoIterator for &'a Array48<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 Array48<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<Array48<B>> for Array48<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 Array48<T>

impl<T: PartialOrd> PartialOrd for Array48<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 Array48<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 Array48<T>

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl<T> IndexMut<usize> for Array48<T>

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

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

The returned type after indexing.

Performs the indexing (container[index]) operation.

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

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

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

The returned type after indexing.

Performs the indexing (container[index]) operation.

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

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

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

The returned type after indexing.

Performs the indexing (container[index]) operation.

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

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

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

The returned type after indexing.

Performs the indexing (container[index]) operation.

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

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

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

The returned type after indexing.

Performs the indexing (container[index]) operation.

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

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

impl<T> Index<RangeFull> for Array48<T>

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl<T> IndexMut<RangeFull> for Array48<T>

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

impl<T> From<[T; 48]> for Array48<T>

Performs the conversion.

impl<T> Into<[T; 48]> for Array48<T>

Performs the conversion.

Auto Trait Implementations

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

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