Enum nibble::slice::NibSliceMut [] [src]

pub enum NibSliceMut<'a> {
    Full(&'a mut NibSliceFull),
    NoL(&'a mut NibSliceNoL),
    NoR(&'a mut NibSliceNoR),
    NoBoth(&'a mut NibSliceNoBoth),
}

Mutable reference to a nibble slice.

Variants

A slice with both sides.

A slice without the left side.

A slice without the right side.

A slice without both sides.

Methods

impl<'a> NibSliceMut<'a>
[src]

[src]

Converts this slice into an aligned version.

[src]

Converts this slice into an unaligned version.

[src]

Converts this slice into an even version.

[src]

Converts this slice into an odd version.

Trait Implementations

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

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

[src]

Formats the value using the given formatter.

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

[src]

Formats the value using the given formatter.

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

[src]

Formats the value using the given formatter.

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

[src]

Formats the value using the given formatter.

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

[src]

Performs the conversion.

impl<'a> From<&'a mut NibSliceNoL> for NibSliceMut<'a>
[src]

[src]

Performs the conversion.

impl<'a> From<&'a mut NibSliceNoR> for NibSliceMut<'a>
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl<'a> From<NibSliceAlignedMut<'a>> for NibSliceMut<'a>
[src]

[src]

Performs the conversion.

impl<'a> From<NibSliceUnalignedMut<'a>> for NibSliceMut<'a>
[src]

[src]

Performs the conversion.

impl<'a> From<NibSliceEvenMut<'a>> for NibSliceMut<'a>
[src]

[src]

Performs the conversion.

impl<'a> From<NibSliceOddMut<'a>> for NibSliceMut<'a>
[src]

[src]

Performs the conversion.

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