Skip to main content

SettingActionHandler

Trait SettingActionHandler 

Source
pub trait SettingActionHandler<Action: Copy> {
    // Required methods
    fn can_apply(&self, action: Action) -> bool;
    fn apply(&mut self, action: Action);
}

Required Methods§

Source

fn can_apply(&self, action: Action) -> bool

Source

fn apply(&mut self, action: Action)

Implementors§