pub struct RichTextStyle2 {
pub bold: Option<bool>,
pub italic: Option<bool>,
pub strike: Option<bool>,
pub highlight: Option<bool>,
pub client_highlight: Option<bool>,
pub unlink: Option<bool>,
}Expand description
An object of six optional boolean properties that dictate style: bold, italic, strike, highlight, client_highlight, and unlink.
Fields§
§bold: Option<bool>When true, boldens the text in this element. Defaults to false.
italic: Option<bool>When true, italicizes the text in this element. Defaults to false.
strike: Option<bool>When true, strikes through the text in this element. Defaults to false.
highlight: Option<bool>Defaults to false.
client_highlight: Option<bool>Defaults to false.
unlink: Option<bool>Defaults to false.
Trait Implementations§
Source§impl Clone for RichTextStyle2
impl Clone for RichTextStyle2
Source§fn clone(&self) -> RichTextStyle2
fn clone(&self) -> RichTextStyle2
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 Debug for RichTextStyle2
impl Debug for RichTextStyle2
Auto Trait Implementations§
impl Freeze for RichTextStyle2
impl RefUnwindSafe for RichTextStyle2
impl Send for RichTextStyle2
impl Sync for RichTextStyle2
impl Unpin for RichTextStyle2
impl UnwindSafe for RichTextStyle2
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