pub struct RichTextCode {
pub text: RichText,
}Expand description
Inline monospace/code text (`text` / <code>text</code>).
Fields§
§text: RichTextThe contained rich text.
Trait Implementations§
Source§impl Clone for RichTextCode
impl Clone for RichTextCode
Source§fn clone(&self) -> RichTextCode
fn clone(&self) -> RichTextCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RichTextCode
impl Debug for RichTextCode
Source§impl<'de> Deserialize<'de> for RichTextCode
impl<'de> Deserialize<'de> for RichTextCode
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
Auto Trait Implementations§
impl Freeze for RichTextCode
impl RefUnwindSafe for RichTextCode
impl Send for RichTextCode
impl Sync for RichTextCode
impl Unpin for RichTextCode
impl UnsafeUnpin for RichTextCode
impl UnwindSafe for RichTextCode
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