Struct usvg_tree::TextDecoration
source · pub struct TextDecoration {
pub underline: Option<TextDecorationStyle>,
pub overline: Option<TextDecorationStyle>,
pub line_through: Option<TextDecorationStyle>,
}
Expand description
A text span decoration.
Fields§
§underline: Option<TextDecorationStyle>
An optional underline and its style.
overline: Option<TextDecorationStyle>
An optional overline and its style.
line_through: Option<TextDecorationStyle>
An optional line-through and its style.
Trait Implementations§
source§impl Clone for TextDecoration
impl Clone for TextDecoration
source§fn clone(&self) -> TextDecoration
fn clone(&self) -> TextDecoration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more