[][src]Struct colored::ColoredString

pub struct ColoredString { /* fields omitted */ }

A string that may have color and/or style applied to it.


impl ColoredString[src]

pub fn is_plain(&self) -> bool[src]

Trait Implementations

impl Colorize for ColoredString[src]

impl PartialEq<ColoredString> for ColoredString[src]

impl Default for ColoredString[src]

impl Clone for ColoredString[src]

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl<'a> From<&'a str> for ColoredString[src]

impl Eq for ColoredString[src]

impl Deref for ColoredString[src]

type Target = str

The resulting type after dereferencing.

impl Display for ColoredString[src]

impl Debug for ColoredString[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 

impl<T, U> TryFrom for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized

impl<T> BorrowMut for T where
    T: ?Sized

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

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