Trait flagtory::Flag

source ·
pub trait Flag {
    fn into_flag(&mut self, s: &str);
    fn as_any(&mut self) -> &mut dyn Any;
}
Expand description

The trait that needs to be implemented in order to be a flag anything that implements FromStr and has a static lifetime implements this trait.

Required Methods§

Implementors§