pub trait StateSetExt: 'static {
// Required methods
fn add_state(&self, type_: StateType) -> bool;
fn and_sets<P: IsA<StateSet>>(&self, compare_set: &P) -> Option<StateSet>;
fn clear_states(&self);
fn contains_state(&self, type_: StateType) -> bool;
fn is_empty(&self) -> bool;
fn or_sets<P: IsA<StateSet>>(&self, compare_set: &P) -> Option<StateSet>;
fn remove_state(&self, type_: StateType) -> bool;
fn xor_sets<P: IsA<StateSet>>(&self, compare_set: &P) -> Option<StateSet>;
}
Required Methods§
fn add_state(&self, type_: StateType) -> bool
fn and_sets<P: IsA<StateSet>>(&self, compare_set: &P) -> Option<StateSet>
fn clear_states(&self)
fn contains_state(&self, type_: StateType) -> bool
fn is_empty(&self) -> bool
fn or_sets<P: IsA<StateSet>>(&self, compare_set: &P) -> Option<StateSet>
fn remove_state(&self, type_: StateType) -> bool
fn xor_sets<P: IsA<StateSet>>(&self, compare_set: &P) -> Option<StateSet>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.