Struct WithoutAnsi

pub struct WithoutAnsi<'a> { /* private fields */ }

A wrapper struct that implements core::fmt::Display, only displaying non-ansi parts.

Implementations

impl<'a> WithoutAnsi<'a>

fn new(str: &'a str) -> Self

Trait Implementations

impl Display for WithoutAnsi<'_>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Auto Trait Implementations

impl<'a> Freeze for WithoutAnsi<'a>

impl<'a> RefUnwindSafe for WithoutAnsi<'a>

impl<'a> Send for WithoutAnsi<'a>

impl<'a> Sync for WithoutAnsi<'a>

impl<'a> Unpin for WithoutAnsi<'a>

impl<'a> UnsafeUnpin for WithoutAnsi<'a>

impl<'a> UnwindSafe for WithoutAnsi<'a>

Blanket Implementations

impl<T> Any for WithoutAnsi<'a> where T: 'static + ?Sized,

impl<T> Borrow<T> for WithoutAnsi<'a> where T: ?Sized,

impl<T> BorrowMut<T> for WithoutAnsi<'a> where T: ?Sized,

impl<T> From<T> for WithoutAnsi<'a>

impl<T> ToString for WithoutAnsi<'a> where T: Display + ?Sized,

impl<T, U> Into<U> for WithoutAnsi<'a> where U: From<T>,

impl<T, U> TryFrom<U> for WithoutAnsi<'a> where U: Into<T>,

impl<T, U> TryInto<U> for WithoutAnsi<'a> where U: TryFrom<T>,