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 TextDecorationfn clone(&self) -> TextDecoration[src]
fn clone(&self) -> TextDecorationReturns 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 TextDecorationfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for TextDecoration[src]
impl Default for TextDecorationAuto Trait Implementations
impl Send for TextDecoration
impl Send for TextDecorationimpl Sync for TextDecoration
impl Sync for TextDecoration