[][src]Enum hypercore::bitfield::Change

pub enum Change {
    Changed,
    Unchanged,
}

Determine wether the bitfield.set() method changed the underlying value.

Variants

The value was changed. Equal to true in mafintosh/sparse-bitfield.

The value was not changed. Equal to false in mafintosh/sparse-bitfield.

Methods

impl Change
[src]

Returns true if the result is Changed.

Returns true if the result is Unchanged.

Trait Implementations

impl PartialEq<Change> for Change
[src]

This method tests for !=.

impl Debug for Change
[src]

Auto Trait Implementations

impl Send for Change

impl Sync for Change

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

Should always be Self