Trait i3status_rs::escape::Escaped

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

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

Required Methods§

source

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

Write escaped version of self to out

Provided Methods§

source

fn 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<R: AsRef<str>> Escaped for R