[−][src]Struct colored::ColoredString
A string that may have color and/or style applied to it.
Methods
impl ColoredString
[src]
Trait Implementations
impl Colorize for ColoredString
[src]
fn black(self) -> ColoredString
[src]
fn red(self) -> ColoredString
[src]
fn green(self) -> ColoredString
[src]
fn yellow(self) -> ColoredString
[src]
fn blue(self) -> ColoredString
[src]
fn magenta(self) -> ColoredString
[src]
fn purple(self) -> ColoredString
[src]
fn cyan(self) -> ColoredString
[src]
fn white(self) -> ColoredString
[src]
fn bright_black(self) -> ColoredString
[src]
fn bright_red(self) -> ColoredString
[src]
fn bright_green(self) -> ColoredString
[src]
fn bright_yellow(self) -> ColoredString
[src]
fn bright_blue(self) -> ColoredString
[src]
fn bright_magenta(self) -> ColoredString
[src]
fn bright_purple(self) -> ColoredString
[src]
fn bright_cyan(self) -> ColoredString
[src]
fn bright_white(self) -> ColoredString
[src]
fn color<S: Into<Color>>(self, color: S) -> ColoredString
[src]
fn on_black(self) -> ColoredString
[src]
fn on_red(self) -> ColoredString
[src]
fn on_green(self) -> ColoredString
[src]
fn on_yellow(self) -> ColoredString
[src]
fn on_blue(self) -> ColoredString
[src]
fn on_magenta(self) -> ColoredString
[src]
fn on_purple(self) -> ColoredString
[src]
fn on_cyan(self) -> ColoredString
[src]
fn on_white(self) -> ColoredString
[src]
fn on_bright_black(self) -> ColoredString
[src]
fn on_bright_red(self) -> ColoredString
[src]
fn on_bright_green(self) -> ColoredString
[src]
fn on_bright_yellow(self) -> ColoredString
[src]
fn on_bright_blue(self) -> ColoredString
[src]
fn on_bright_magenta(self) -> ColoredString
[src]
fn on_bright_purple(self) -> ColoredString
[src]
fn on_bright_cyan(self) -> ColoredString
[src]
fn on_bright_white(self) -> ColoredString
[src]
fn on_color<S: Into<Color>>(self, color: S) -> ColoredString
[src]
fn clear(self) -> ColoredString
[src]
fn normal(self) -> ColoredString
[src]
fn bold(self) -> ColoredString
[src]
fn dimmed(self) -> ColoredString
[src]
fn italic(self) -> ColoredString
[src]
fn underline(self) -> ColoredString
[src]
fn blink(self) -> ColoredString
[src]
fn reverse(self) -> ColoredString
[src]
fn reversed(self) -> ColoredString
[src]
[src]
fn strikethrough(self) -> ColoredString
[src]
impl Default for ColoredString
[src]
impl Eq for ColoredString
[src]
impl Clone for ColoredString
[src]
fn clone(&self) -> ColoredString
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<ColoredString> for ColoredString
[src]
fn eq(&self, other: &ColoredString) -> bool
[src]
fn ne(&self, other: &ColoredString) -> bool
[src]
impl<'a> From<&'a str> for ColoredString
[src]
impl Deref for ColoredString
[src]
impl Display for ColoredString
[src]
impl Debug for ColoredString
[src]
Auto Trait Implementations
impl Unpin for ColoredString
impl Sync for ColoredString
impl Send for ColoredString
impl UnwindSafe for ColoredString
impl RefUnwindSafe for ColoredString
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,