Struct network_collections::Array52[][src]

pub struct Array52<T>(pub [T; 52]);

An array new type wrapper with $type elements.

Exists because Rust does not provide arrays with more than 32 elements which implement common traits.

Trait Implementations

impl<'deserialize, T: Deserialize<'deserialize>> Deserialize<'deserialize> for Array52<T>
[src]

Deserialize this value from the given Serde deserializer. Read more

impl<'deserialize> Deserialize<'deserialize> for Array52<u8>
[src]

Deserialize this value from the given Serde deserializer. Read more

impl<T: Serialize> Serialize for Array52<T>
[src]

Serialize this value into the given Serde serializer. Read more

impl<T: Copy> Copy for Array52<T>
[src]

impl<T: Copy> Clone for Array52<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for Array52<T>
[src]

Formats the value using the given formatter. Read more

impl<T: PartialEq> PartialEq for Array52<T>
[src]

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 Array52<T>
[src]

impl<T: PartialOrd> PartialOrd for Array52<T>
[src]

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 Array52<T>
[src]

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: Hash> Hash for Array52<T>
[src]

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

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

impl<'a, T> IntoIterator for &'a Array52<T>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Important traits for Iter<'a, T>

Creates an iterator from a value. Read more

impl<'a, T> IntoIterator for &'a mut Array52<T>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Important traits for IterMut<'a, T>

Creates an iterator from a value. Read more

impl<T> AsRef<[T]> for Array52<T>
[src]

Important traits for &'a [u8]

Performs the conversion.

impl<T> AsMut<[T]> for Array52<T>
[src]

Important traits for &'a [u8]

Performs the conversion.

impl<T> Deref for Array52<T>
[src]

The resulting type after dereferencing.

Dereferences the value.

impl<T> DerefMut for Array52<T>
[src]

Mutably dereferences the value.

impl<T: Default + Copy> Default for Array52<T>
[src]

Returns the "default value" for a type. Read more

impl<T> From<[T; 52]> for Array52<T>
[src]

Performs the conversion.

impl<T> Into<[T; 52]> for Array52<T>
[src]

Performs the conversion.

impl<T> Borrow<[T]> for Array52<T>
[src]

Important traits for &'a [u8]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<[T]> for Array52<T>
[src]

Important traits for &'a [u8]

Mutably borrows from an owned value. Read more

Auto Trait Implementations

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

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