Skip to main content

Formater

Trait Formater 

Source
pub trait Formater {
    // Required methods
    fn as_command(self) -> String;
    fn as_tip(self) -> String;
    fn as_tip_cotinuation(self) -> String;
    fn concat(self, postfix: &'static str) -> String;
}

Required Methods§

Source

fn as_command(self) -> String

Source

fn as_tip(self) -> String

Source

fn as_tip_cotinuation(self) -> String

Source

fn concat(self, postfix: &'static str) -> String

Implementors§

Source§

impl<D> Formater for D
where D: Display,