Trait powerbool::Change
[−]
[src]
pub trait Change { fn change(&mut self, v: Self) -> bool; }
Required Methods
fn change(&mut self, v: Self) -> bool
If this value does not equal the other value, become that value and return true.
Implementors
impl<T: PartialEq> Change for T