[][src]Enum tree_index::Change

pub enum Change {
    Changed,
    Unchanged,
}

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

Variants

Changed

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

Unchanged

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

Implementations

impl Change[src]

pub fn is_changed(&self) -> bool[src]

Returns true if the result is Changed.

pub fn is_unchanged(&self) -> bool[src]

Returns true if the result is Unchanged.

Trait Implementations

impl Debug for Change[src]

impl PartialEq<Change> for Change[src]

impl StructuralPartialEq for Change[src]

Auto Trait Implementations

impl RefUnwindSafe for Change

impl Send for Change

impl Sync for Change

impl Unpin for Change

impl UnwindSafe for Change

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.