Struct usvg::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]
impl Clone for TextDecoration
fn clone(&self) -> TextDecoration
[src]
fn clone(&self) -> TextDecoration
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for TextDecoration
[src]
impl Debug for TextDecoration
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for TextDecoration
[src]
impl Default for TextDecoration
Auto Trait Implementations
impl Send for TextDecoration
impl Send for TextDecoration
impl Sync for TextDecoration
impl Sync for TextDecoration