pub trait FeatureFlagAppExt {
    // Required methods
    fn update_flags(&mut self, staff: bool, flags: Vec<String>);
    fn set_staff(&mut self, staff: bool);
    fn has_flag<T: FeatureFlag>(&self) -> bool;
    fn is_staff(&self) -> bool;
}

Required Methods§

source

fn update_flags(&mut self, staff: bool, flags: Vec<String>)

source

fn set_staff(&mut self, staff: bool)

source

fn has_flag<T: FeatureFlag>(&self) -> bool

source

fn is_staff(&self) -> bool

Implementations on Foreign Types§

source§

impl FeatureFlagAppExt for AppContext

source§

fn update_flags(&mut self, staff: bool, flags: Vec<String>)

source§

fn set_staff(&mut self, staff: bool)

source§

fn has_flag<T: FeatureFlag>(&self) -> bool

source§

fn is_staff(&self) -> bool

Implementors§