Skip to main content

StringExt

Trait StringExt 

Source
pub trait StringExt {
    // Required methods
    fn push_string(&mut self, str: &String) -> &Self;
    fn push_str_line(&mut self, str: &str) -> &Self;
}

Required Methods§

Source

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

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl StringExt for String

Source§

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

Source§

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

Implementors§