pub struct FootnoteDefinition {
pub label: String,
pub blocks: Vec<Block>,
}Expand description
Footnote definition block (e.g., [^label]: content).
Fields§
§label: StringNormalized label (without leading ^).
blocks: Vec<Block>Footnote content (blocks).
Trait Implementations§
Source§impl Clone for FootnoteDefinition
impl Clone for FootnoteDefinition
Source§fn clone(&self) -> FootnoteDefinition
fn clone(&self) -> FootnoteDefinition
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 FootnoteDefinition
impl Debug for FootnoteDefinition
Source§impl<'de> Deserialize<'de> for FootnoteDefinition
impl<'de> Deserialize<'de> for FootnoteDefinition
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 FootnoteDefinition
impl PartialEq for FootnoteDefinition
Source§impl Serialize for FootnoteDefinition
impl Serialize for FootnoteDefinition
Source§impl<T: Default> WithData<T> for FootnoteDefinition
impl<T: Default> WithData<T> for FootnoteDefinition
Source§type WithDataType = FootnoteDefinition<T>
type WithDataType = FootnoteDefinition<T>
The type with user data attached
Source§fn with_data(self, data: T) -> Self::WithDataType
fn with_data(self, data: T) -> Self::WithDataType
Add user data to this AST node
Source§fn with_default_data(self) -> Self::WithDataTypewhere
T: Default,
fn with_default_data(self) -> Self::WithDataTypewhere
T: Default,
Add default user data to this AST node
impl StructuralPartialEq for FootnoteDefinition
Auto Trait Implementations§
impl Freeze for FootnoteDefinition
impl RefUnwindSafe for FootnoteDefinition
impl Send for FootnoteDefinition
impl Sync for FootnoteDefinition
impl Unpin for FootnoteDefinition
impl UnwindSafe for FootnoteDefinition
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