Trait forky_core::StringX

source ·
pub trait StringX {
    // Required methods
    fn to_str(&self) -> &str;
    fn push_str_line(&mut self, str: &str) -> &Self;
    fn push_string(&mut self, str: &String) -> &Self;
}

Required Methods§

source

fn to_str(&self) -> &str

source

fn push_str_line(&mut self, str: &str) -> &Self

source

fn push_string(&mut self, str: &String) -> &Self

Implementations on Foreign Types§

source§

impl StringX for String

source§

fn to_str(&self) -> &str

source§

fn push_string(&mut self, str: &String) -> &Self

source§

fn push_str_line(&mut self, str: &str) -> &Self

Implementors§