pub enum FormattingOption {
Reset,
Bold,
Italic,
Underline,
CrossedOut,
}Expand description
Set of text formatting options
Variants§
Reset
Reset the formatting
Bold
Make the text bold
Italic
Make the text italic
Underline
Underline the text
CrossedOut
Cross the text out
Trait Implementations§
Source§impl Clone for FormattingOption
impl Clone for FormattingOption
Source§fn clone(&self) -> FormattingOption
fn clone(&self) -> FormattingOption
Returns a duplicate 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 From<FormattingOption> for Attribute
impl From<FormattingOption> for Attribute
Source§fn from(value: FormattingOption) -> Self
fn from(value: FormattingOption) -> Self
Converts to this type from the input type.
impl Copy for FormattingOption
Auto Trait Implementations§
impl Freeze for FormattingOption
impl RefUnwindSafe for FormattingOption
impl Send for FormattingOption
impl Sync for FormattingOption
impl Unpin for FormattingOption
impl UnwindSafe for FormattingOption
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