Skip to main content

FlagSet

Trait FlagSet 

Source
pub trait FlagSet {
    // Required methods
    fn contains_flag(&self, token: &str) -> bool;
    fn contains_short(&self, byte: u8) -> bool;
}

Required Methods§

Source

fn contains_flag(&self, token: &str) -> bool

Source

fn contains_short(&self, byte: u8) -> bool

Implementations on Foreign Types§

Source§

impl FlagSet for Vec<String>

Source§

fn contains_flag(&self, token: &str) -> bool

Source§

fn contains_short(&self, byte: u8) -> bool

Source§

impl FlagSet for [String]

Source§

fn contains_flag(&self, token: &str) -> bool

Source§

fn contains_short(&self, byte: u8) -> bool

Implementors§