Enum css_style::text::TextDecoration [−][src]
pub enum TextDecoration {
Decoration {
line: Option<TextDecorationLine>,
color: Option<TextDecorationColor>,
style: Option<TextDecorationStyle>,
},
Initial,
Inherit,
}
Variants
Decoration
Fields
line: Option<TextDecorationLine>
color: Option<TextDecorationColor>
style: Option<TextDecorationStyle>
Initial
Inherit
Implementations
Trait Implementations
fn from(
original: (Option<TextDecorationLine>, Option<TextDecorationColor>, Option<TextDecorationStyle>)
) -> TextDecoration
fn from(
original: (Option<TextDecorationLine>, Option<TextDecorationColor>, Option<TextDecorationStyle>)
) -> TextDecoration
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TextDecoration
impl Send for TextDecoration
impl Sync for TextDecoration
impl Unpin for TextDecoration
impl UnwindSafe for TextDecoration
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: FloatComponent,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: FloatComponent,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
Mutably borrows from an owned value. Read more
Convert into T with values clamped to the color defined bounds Read more
Convert into T. The resulting color might be invalid in its color space Read more
Convert into T, returning ok if the color is inside of its defined
range, otherwise an OutOfBounds
error is returned which contains
the unclamped color. Read more