WithMaxLengthString

Trait WithMaxLengthString 

Source
pub trait WithMaxLengthString {
    // Required methods
    fn with_max_length(&self, max: usize) -> String;
    fn last_n(&self, n: usize) -> String;
}

Required Methods§

Source

fn with_max_length(&self, max: usize) -> String

Source

fn last_n(&self, n: usize) -> String

Implementations on Foreign Types§

Source§

impl WithMaxLengthString for String

Source§

fn with_max_length(&self, max: usize) -> String

Source§

fn last_n(&self, n: usize) -> String

Implementors§