[−][src]Struct dialect::ResolvedStyle
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]
fn clone(&self) -> ResolvedStyle
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ResolvedStyle
[src]
impl Debug for ResolvedStyle
[src]
impl Eq for ResolvedStyle
[src]
impl From<ResolvedStyle> for Style
[src]
fn from(style: ResolvedStyle) -> Self
[src]
impl Hash for ResolvedStyle
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for ResolvedStyle
[src]
fn cmp(&self, other: &ResolvedStyle) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<ResolvedStyle> for ResolvedStyle
[src]
fn eq(&self, other: &ResolvedStyle) -> bool
[src]
fn ne(&self, other: &ResolvedStyle) -> bool
[src]
impl PartialOrd<ResolvedStyle> for ResolvedStyle
[src]
fn partial_cmp(&self, other: &ResolvedStyle) -> Option<Ordering>
[src]
fn lt(&self, other: &ResolvedStyle) -> bool
[src]
fn le(&self, other: &ResolvedStyle) -> bool
[src]
fn gt(&self, other: &ResolvedStyle) -> bool
[src]
fn ge(&self, other: &ResolvedStyle) -> bool
[src]
impl StructuralEq for ResolvedStyle
[src]
impl StructuralPartialEq for ResolvedStyle
[src]
Auto Trait Implementations
impl RefUnwindSafe for ResolvedStyle
impl Send for ResolvedStyle
impl Sync for ResolvedStyle
impl Unpin for ResolvedStyle
impl UnwindSafe for ResolvedStyle
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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, 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>,