pub struct TextDecorations;Expand description
Defines a set of commonly used text decorations.
Implementations§
Source§impl TextDecorations
impl TextDecorations
Sourcepub fn underline() -> TextDecorationCollection
pub fn underline() -> TextDecorationCollection
Gets a value containing a single underline.
Sourcepub fn strikethrough() -> TextDecorationCollection
pub fn strikethrough() -> TextDecorationCollection
Gets a value containing a single strikethrough.
Sourcepub fn overline() -> TextDecorationCollection
pub fn overline() -> TextDecorationCollection
Gets a value containing a single overline.
Sourcepub fn baseline() -> TextDecorationCollection
pub fn baseline() -> TextDecorationCollection
Gets a value containing a single baseline.
Trait Implementations§
Source§impl MarkupTyped for TextDecorations
impl MarkupTyped for TextDecorations
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Auto Trait Implementations§
impl Freeze for TextDecorations
impl RefUnwindSafe for TextDecorations
impl Send for TextDecorations
impl Sync for TextDecorations
impl Unpin for TextDecorations
impl UnsafeUnpin for TextDecorations
impl UnwindSafe for TextDecorations
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more