Trait protocoll::Str [] [src]

pub trait Str {
    fn inc(self, c: char) -> Self;
    fn dec(self) -> Self;
    fn plus(self, s: &str) -> Self;
    fn zero(self) -> Self;
    fn shrink(self) -> Self;
}

basic protocol for strs;

Required Methods

appends char c.

pops the last char.

appends str s.

clear.

shrink_to_fit.

Implementors