[][src]Struct jobrog::util::Style

pub struct Style<'a> { /* fields omitted */ }

Methods

impl<'a> Style<'a>[src]

pub fn new(conf: &'a Configuration) -> Style<'a>[src]

pub fn bold<T: ToString>(&self, text: T) -> String[src]

pub fn italic<T: ToString>(&self, text: T) -> String[src]

pub fn odd_line<T: ToString>(&self, text: T) -> String[src]

pub fn cyan<T: ToString>(&self, text: T) -> String[src]

pub fn green<T: ToString>(&self, text: T) -> String[src]

pub fn blue<T: ToString>(&self, text: T) -> String[src]

pub fn red<T: ToString>(&self, text: T) -> String[src]

pub fn purple<T: ToString>(&self, text: T) -> String[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Style<'a>

impl<'a> Send for Style<'a>

impl<'a> Sync for Style<'a>

impl<'a> Unpin for Style<'a>

impl<'a> UnwindSafe for Style<'a>

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.