pub struct RichTextAnnotations {
pub bold: bool,
pub italic: bool,
pub strikethrough: bool,
pub underline: bool,
pub code: bool,
pub color: Color,
}
Fields§
§bold: bool
§italic: bool
§strikethrough: bool
§underline: bool
§code: bool
§color: Color
Trait Implementations§
Source§impl Clone for RichTextAnnotations
impl Clone for RichTextAnnotations
Source§fn clone(&self) -> RichTextAnnotations
fn clone(&self) -> RichTextAnnotations
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 RichTextAnnotations
impl Debug for RichTextAnnotations
Source§impl Default for RichTextAnnotations
impl Default for RichTextAnnotations
Source§fn default() -> RichTextAnnotations
fn default() -> RichTextAnnotations
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RichTextAnnotations
impl<'de> Deserialize<'de> for RichTextAnnotations
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RichTextAnnotations
impl PartialEq for RichTextAnnotations
Source§impl Serialize for RichTextAnnotations
impl Serialize for RichTextAnnotations
impl Copy for RichTextAnnotations
impl Eq for RichTextAnnotations
impl StructuralPartialEq for RichTextAnnotations
Auto Trait Implementations§
impl Freeze for RichTextAnnotations
impl RefUnwindSafe for RichTextAnnotations
impl Send for RichTextAnnotations
impl Sync for RichTextAnnotations
impl Unpin for RichTextAnnotations
impl UnwindSafe for RichTextAnnotations
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