Trait fav_core::status::SetsStatusExt
source · pub trait SetsStatusExt: Sets{
// Provided methods
fn on_set_status(&mut self, status: StatusFlags) { ... }
fn off_set_status(&mut self, status: StatusFlags) { ... }
fn set_set_status(&mut self, status: StatusFlags) { ... }
fn with_set_status_on(self, status: StatusFlags) -> Self
where Self: Sized { ... }
fn with_set_status_set(self, status: StatusFlags) -> Self
where Self: Sized { ... }
}Expand description
Provided Methods§
sourcefn on_set_status(&mut self, status: StatusFlags)
fn on_set_status(&mut self, status: StatusFlags)
turn on StatusFlags to all resources
sourcefn off_set_status(&mut self, status: StatusFlags)
fn off_set_status(&mut self, status: StatusFlags)
set StatusFlags to all resources
sourcefn set_set_status(&mut self, status: StatusFlags)
fn set_set_status(&mut self, status: StatusFlags)
set StatusFlags to all resources
sourcefn with_set_status_on(self, status: StatusFlags) -> Selfwhere
Self: Sized,
fn with_set_status_on(self, status: StatusFlags) -> Selfwhere
Self: Sized,
turn on StatusFlags to all resources from old
sourcefn with_set_status_set(self, status: StatusFlags) -> Selfwhere
Self: Sized,
fn with_set_status_set(self, status: StatusFlags) -> Selfwhere
Self: Sized,
set StatusFlags to all resources from old
Object Safety§
This trait is not object safe.