Trait surf_header::utils::Str

source ·
pub trait Str {
    // Required methods
    fn cut(&self, start: i32, end: i32, step: usize) -> String;
    fn format(&self, targets: Vec<(&str, &str)>) -> String;
}

Required Methods§

source

fn cut(&self, start: i32, end: i32, step: usize) -> String

source

fn format(&self, targets: Vec<(&str, &str)>) -> String

Implementations on Foreign Types§

source§

impl Str for String

source§

fn cut(&self, start: i32, end: i32, step: usize) -> String

source§

fn format(&self, targets: Vec<(&str, &str)>) -> String

source§

impl Str for &str

source§

fn cut(&self, start: i32, end: i32, step: usize) -> String

source§

fn format(&self, targets: Vec<(&str, &str)>) -> String

Implementors§