[][src]Struct dialect::ResolvedStyle

pub struct ResolvedStyle {
    pub fg_color: Rgb,
    pub bg_color: Rgb,
    pub is_bold: bool,
    pub is_italic: bool,
    pub is_underline: bool,
}

Identical to a Style, except that all its fields are mandatory.

Fields

fg_color: Rgb

its foreground colour

bg_color: Rgb

its background colour

is_bold: bool

whether to bolden

is_italic: bool

whether to italicise

is_underline: bool

whether to underline

Trait Implementations

impl Clone for ResolvedStyle[src]

impl Copy for ResolvedStyle[src]

impl Debug for ResolvedStyle[src]

impl Eq for ResolvedStyle[src]

impl From<ResolvedStyle> for Style[src]

impl Hash for ResolvedStyle[src]

impl Ord for ResolvedStyle[src]

impl PartialEq<ResolvedStyle> for ResolvedStyle[src]

impl PartialOrd<ResolvedStyle> for ResolvedStyle[src]

impl StructuralEq for ResolvedStyle[src]

impl StructuralPartialEq for ResolvedStyle[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.