Skip to main content

MutableBoolHelper

Trait MutableBoolHelper 

Source
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§

Source

fn read(&self) -> bool

Source

fn write(&self, value: bool)

Source

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".

Implementors§