Trait Format

Source
pub trait Format: Debug {
    // Required methods
    fn left(&self, hold: usize) -> String;
    fn right(&self, hold: usize) -> String;
    fn mid(&self, hold: usize) -> String;
    fn left_lim(&self, hold: usize) -> String;
    fn right_lim(&self, hold: usize) -> String;
    fn mid_lim(&self, hold: usize) -> String;
    fn cut(&self, hold: usize) -> String;
}

Required Methods§

Source

fn left(&self, hold: usize) -> String

Source

fn right(&self, hold: usize) -> String

Source

fn mid(&self, hold: usize) -> String

Source

fn left_lim(&self, hold: usize) -> String

Source

fn right_lim(&self, hold: usize) -> String

Source

fn mid_lim(&self, hold: usize) -> String

Source

fn cut(&self, hold: usize) -> String

Implementations on Foreign Types§

Source§

impl Format for String

Source§

fn left(&self, hold: usize) -> String

Source§

fn right(&self, hold: usize) -> String

Source§

fn mid(&self, hold: usize) -> String

Source§

fn left_lim(&self, hold: usize) -> String

Source§

fn right_lim(&self, hold: usize) -> String

Source§

fn mid_lim(&self, hold: usize) -> String

Source§

fn cut(&self, hold: usize) -> String

Implementors§