pub trait YesNo {
    // Required method
    fn yesno(&self) -> String;
}

Required Methods§

source

fn yesno(&self) -> String

true->"Yes", false->"No" に変換

Implementations on Foreign Types§

source§

impl YesNo for bool

source§

fn yesno(&self) -> String

Implementors§