pub trait MutableBoolHelper {
// Required methods
fn read(&self) -> bool;
fn write(&self, value: bool);
fn change_if_not_equal(&self, value: bool) -> bool;
}Required Methods§
fn read(&self) -> bool
fn write(&self, value: bool)
fn change_if_not_equal(&self, value: bool) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".