Struct usvg::TextDecoration[][src]

pub struct TextDecoration {
    pub underline: Option<TextDecorationStyle>,
    pub overline: Option<TextDecorationStyle>,
    pub line_through: Option<TextDecorationStyle>,
}

A text decoration.

Fields

Draw underline using specified style.

Should be drawn before/under text.

Draw overline using specified style.

Should be drawn before/under text.

Draw line-through using specified style.

Should be drawn after/over text.

Trait Implementations

impl Clone for TextDecoration
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TextDecoration
[src]

Formats the value using the given formatter. Read more

impl Default for TextDecoration
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations