Struct usvg::TextDecoration
source · pub struct TextDecoration {
pub underline: Option<TextDecorationStyle>,
pub overline: Option<TextDecorationStyle>,
pub line_through: Option<TextDecorationStyle>,
}
Expand description
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
sourceimpl Clone for TextDecoration
impl Clone for TextDecoration
sourcefn clone(&self) -> TextDecoration
fn clone(&self) -> TextDecoration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TextDecoration
impl Debug for TextDecoration
Auto Trait Implementations
impl RefUnwindSafe for TextDecoration
impl Send for TextDecoration
impl Sync for TextDecoration
impl Unpin for TextDecoration
impl UnwindSafe for TextDecoration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more