Struct network_collections::Array52 [−][src]
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]
impl<'deserialize, T: Deserialize<'deserialize>> Deserialize<'deserialize> for Array52<T>
fn deserialize<D: Deserializer<'deserialize>>(
deserializer: D
) -> Result<Self, D::Error>
[src]
fn deserialize<D: Deserializer<'deserialize>>(
deserializer: D
) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl<'deserialize> Deserialize<'deserialize> for Array52<u8>
[src]
impl<'deserialize> Deserialize<'deserialize> for Array52<u8>
fn deserialize<D: Deserializer<'deserialize>>(
deserializer: D
) -> Result<Self, D::Error>
[src]
fn deserialize<D: Deserializer<'deserialize>>(
deserializer: D
) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl<T: Serialize> Serialize for Array52<T>
[src]
impl<T: Serialize> Serialize for Array52<T>
fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>
[src]
fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>
Serialize this value into the given Serde serializer. Read more
impl<T: Copy> Copy for Array52<T>
[src]
impl<T: Copy> Copy for Array52<T>
impl<T: Copy> Clone for Array52<T>
[src]
impl<T: Copy> Clone for Array52<T>
fn clone(&self) -> Self
[src]
fn clone(&self) -> Self
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: Debug> Debug for Array52<T>
[src]
impl<T: Debug> Debug for Array52<T>
fn fmt(&self, formatter: &mut Formatter) -> Result
[src]
fn fmt(&self, formatter: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T: PartialEq> PartialEq for Array52<T>
[src]
impl<T: PartialEq> PartialEq for Array52<T>
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> 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[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl<T: Eq> Eq for Array52<T>
[src]
impl<T: Eq> Eq for Array52<T>
impl<T: PartialOrd> PartialOrd for Array52<T>
[src]
impl<T: PartialOrd> PartialOrd for Array52<T>
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Self) -> bool
[src]
fn lt(&self, other: &Self) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Self) -> bool
[src]
fn le(&self, other: &Self) -> 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: &Self) -> bool
[src]
fn ge(&self, other: &Self) -> 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: &Self) -> bool
[src]
fn gt(&self, other: &Self) -> bool
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]
impl<T: Ord> Ord for Array52<T>
fn cmp(&self, other: &Self) -> Ordering
[src]
fn cmp(&self, other: &Self) -> 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: Hash> Hash for Array52<T>
[src]
impl<T: Hash> Hash for Array52<T>
fn hash<H: Hasher>(&self, state: &mut H)
[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[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<'a, T> IntoIterator for &'a Array52<T>
[src]
impl<'a, T> IntoIterator for &'a Array52<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?
ⓘImportant traits for Iter<'a, T>fn into_iter(self) -> Iter<'a, T>
[src]
fn into_iter(self) -> Iter<'a, T>
Creates an iterator from a value. Read more
impl<'a, T> IntoIterator for &'a mut Array52<T>
[src]
impl<'a, T> IntoIterator for &'a mut Array52<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?
ⓘImportant traits for IterMut<'a, T>fn into_iter(self) -> IterMut<'a, T>
[src]
fn into_iter(self) -> IterMut<'a, T>
Creates an iterator from a value. Read more
impl<T> AsRef<[T]> for Array52<T>
[src]
impl<T> AsRef<[T]> for Array52<T>
impl<T> AsMut<[T]> for Array52<T>
[src]
impl<T> AsMut<[T]> for Array52<T>
impl<T> Deref for Array52<T>
[src]
impl<T> Deref for Array52<T>
type Target = [T; 52]
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
fn deref(&self) -> &Self::Target
Dereferences the value.
impl<T> DerefMut for Array52<T>
[src]
impl<T> DerefMut for Array52<T>
impl<T: Default + Copy> Default for Array52<T>
[src]
impl<T: Default + Copy> Default for Array52<T>
impl<T> From<[T; 52]> for Array52<T>
[src]
impl<T> From<[T; 52]> for Array52<T>
impl<T> Into<[T; 52]> for Array52<T>
[src]
impl<T> Into<[T; 52]> for Array52<T>