Enum nibble::array::NibArray [] [src]

pub enum NibArray<A: Array<Item = u4x2>> {
    Even(NibArrayEven<A>),
    Odd(NibArrayOdd<A>),
}

An array of nibbles.

Variants

Methods

impl<A: Array<Item = u4x2>> NibArray<A>
[src]

[src]

Intreprets this array as a slice.

[src]

Intreprets this array as a mutable slice.

Trait Implementations

impl<A: Array<Item = u4x2>, Rhs: ?Sized + NibSliceExt> PartialEq<Rhs> for NibArray<A>
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<A: Array<Item = u4x2>, Rhs: ?Sized + NibSliceExt> PartialOrd<Rhs> for NibArray<A>
[src]

[src]

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

1.0.0
[src]

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

1.0.0
[src]

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

1.0.0
[src]

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

1.0.0
[src]

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

impl<A: Array<Item = u4x2>> Hash for NibArray<A>
[src]

[src]

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

1.3.0
[src]

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

impl<A: Array<Item = u4x2>> Eq for NibArray<A>
[src]

impl<A: Array<Item = u4x2>> Ord for NibArray<A>
[src]

[src]

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

1.22.0
[src]

Compares and returns the maximum of two values. Read more

1.22.0
[src]

Compares and returns the minimum of two values. Read more

impl<A: Array<Item = u4x2>> Binary for NibArray<A>
[src]

[src]

Formats the value using the given formatter.

impl<A: Array<Item = u4x2>> LowerHex for NibArray<A>
[src]

[src]

Formats the value using the given formatter.

impl<A: Array<Item = u4x2>> UpperHex for NibArray<A>
[src]

[src]

Formats the value using the given formatter.

impl<A: Array<Item = u4x2>> Debug for NibArray<A>
[src]

[src]

Formats the value using the given formatter.

impl<A: Array<Item = u4x2>> NibSliceExt for NibArray<A>
[src]

[src]

Iterator over the nibble pairs in this slice. Read more

[src]

Iterator over nibbles in a slice.

[src]

Decomposes this slice into its parts.

[src]

Gets a nibble at the given index.

[src]

Gets the length of the slice.

[src]

Checks if the slice is empty.

[src]

Converts this slice into a NibSlice.

[src]

Checks whether this slice is aligned to a byte boundary.

[src]

Checks whether this slice has an even number of nibbles.

[src]

Checks whether this slice has an odd number of nibbles.

impl<A: Array<Item = u4x2>> NibSliceMutExt for NibArray<A>
[src]

[src]

Mutable iterator over the nibble pairs in this slice. Read more

[src]

Mutable iterator over nibbles in a slice.

[src]

Mutably decomposes this slice into its parts.

[src]

Mutably gets a nibble at the given index.

[src]

Converts this slice into a NibSliceMut.