Enum tree_index::Change [−][src]
pub enum Change {
Changed,
Unchanged,
}Determine wether the bitfield.set() method changed the underlying value.
Variants
ChangedThe value was changed. Equal to true in mafintosh/sparse-bitfield.
UnchangedThe value was not changed. Equal to false in
mafintosh/sparse-bitfield.
Methods
impl Change[src]
impl Changepub fn is_changed(&self) -> bool[src]
pub fn is_changed(&self) -> boolReturns true if the result is Changed.
pub fn is_unchanged(&self) -> bool[src]
pub fn is_unchanged(&self) -> boolReturns true if the result is Unchanged.
Trait Implementations
impl Debug for Change[src]
impl Debug for Changefn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl PartialEq<Change> for Change[src]
impl PartialEq<Change> for Change