pub struct RichTextReference {
pub text: RichText,
pub footnote_name: String,
}Expand description
A reference to a previously defined footnote.
Fields§
§text: RichTextThe display text (typically the footnote superscript label).
footnote_name: StringThe footnote identifier being referenced.
Trait Implementations§
Source§impl Clone for RichTextReference
impl Clone for RichTextReference
Source§fn clone(&self) -> RichTextReference
fn clone(&self) -> RichTextReference
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 RichTextReference
impl Debug for RichTextReference
Source§impl<'de> Deserialize<'de> for RichTextReference
impl<'de> Deserialize<'de> for RichTextReference
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 RichTextReference
impl RefUnwindSafe for RichTextReference
impl Send for RichTextReference
impl Sync for RichTextReference
impl Unpin for RichTextReference
impl UnsafeUnpin for RichTextReference
impl UnwindSafe for RichTextReference
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