i3status_rs::escape

Trait CollectEscaped

source
pub trait CollectEscaped {
    // Required method
    fn collect_pango_escaped_into<T: Write>(self, out: &mut T);

    // Provided method
    fn collect_pango_escaped<T: Write + Default>(self) -> T
       where Self: Sized { ... }
}

Required Methods§

source

fn collect_pango_escaped_into<T: Write>(self, out: &mut T)

Write escaped version of self to out

Provided Methods§

source

fn collect_pango_escaped<T: Write + Default>(self) -> T
where Self: Sized,

Write escaped version of self to a new buffer

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<I, R> CollectEscaped for I
where I: Iterator<Item = R>, R: AsRef<str>,