Enum tree_index::Change [−][src]
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
.
Methods
impl Change
[src]
impl Change
pub fn is_changed(&self) -> bool
[src]
pub fn is_changed(&self) -> bool
Returns true
if the result is Changed
.
pub fn is_unchanged(&self) -> bool
[src]
pub fn is_unchanged(&self) -> bool
Returns true
if the result is Unchanged
.
Trait Implementations
impl Debug for Change
[src]
impl Debug for Change
fn 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