Enum nibble::slice::NibSliceEven [] [src]

pub enum NibSliceEven<'a> {
    Aligned(&'a NibSliceFull),
    Unaligned(&'a NibSliceNoBoth),
}

Reference to a nibble slice with an even number of nibbles.

Variants

An aligned slice with an even number of nibbles.

An unaligned slice with an even number of nibbles.

Trait Implementations

impl<'a, Rhs: ?Sized + NibSliceExt> PartialEq<Rhs> for NibSliceEven<'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, Rhs: ?Sized + NibSliceExt> PartialOrd<Rhs> for NibSliceEven<'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> Hash for NibSliceEven<'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> Eq for NibSliceEven<'a>
[src]

impl<'a> Ord for NibSliceEven<'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> Binary for NibSliceEven<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> LowerHex for NibSliceEven<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> UpperHex for NibSliceEven<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> Debug for NibSliceEven<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> From<&'a NibSliceFull> for NibSliceEven<'a>
[src]

[src]

Performs the conversion.

impl<'a> From<&'a NibSliceNoBoth> for NibSliceEven<'a>
[src]

[src]

Performs the conversion.

impl<'a> NibSliceExt for NibSliceEven<'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.