Trait protocoll::Str [] [src]

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

basic protocol for strs;

Required Methods

pushs c.

pops the last char.

appends s.

shrink_to_fit.

clear.

Implementors