Struct usvgr::TextDecoration
source · pub struct TextDecoration {
pub underline: Option<TextDecorationStyle>,
pub overline: Option<TextDecorationStyle>,
pub line_through: Option<TextDecorationStyle>,
}Expand description
A text span decoration.
Fields§
§underline: Option<TextDecorationStyle>An optional underline and its style.
overline: Option<TextDecorationStyle>An optional overline and its style.
line_through: Option<TextDecorationStyle>An optional line-through and its style.
Trait Implementations§
source§impl Clone for TextDecoration
impl Clone for TextDecoration
source§fn clone(&self) -> TextDecoration
fn clone(&self) -> TextDecoration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TextDecoration
impl Debug for TextDecoration
Auto Trait Implementations§
impl Freeze for TextDecoration
impl !RefUnwindSafe for TextDecoration
impl !Send for TextDecoration
impl !Sync for TextDecoration
impl Unpin for TextDecoration
impl !UnwindSafe for TextDecoration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more