Trait BoolUtil

Source
pub trait BoolUtil {
    // Required methods
    fn yesno(&self) -> &'static str;
    fn endl(&self) -> &'static str;
}

Required Methods§

Source

fn yesno(&self) -> &'static str

true"Yes"false"No" に変換

Source

fn endl(&self) -> &'static str

true"\n"false" " に変換

Implementations on Foreign Types§

Source§

impl BoolUtil for bool

Source§

fn yesno(&self) -> &'static str

Source§

fn endl(&self) -> &'static str

Implementors§