Struct usvg::tree::TextDecoration
[−]
[src]
pub struct TextDecoration { pub underline: Option<TextDecorationStyle>, pub overline: Option<TextDecorationStyle>, pub line_through: Option<TextDecorationStyle>, }
A text decoration.
Fields
underline: Option<TextDecorationStyle>
Draw underline using specified style.
Should be drawn before/under text.
overline: Option<TextDecorationStyle>
Draw overline using specified style.
Should be drawn before/under text.
line_through: Option<TextDecorationStyle>
Draw line-through using specified style.
Should be drawn after/over text.
Trait Implementations
impl Clone for TextDecoration
[src]
fn clone(&self) -> TextDecoration
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for TextDecoration
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more