pub struct FootnoteDef<'a> {
pub label: CowStr<'a>,
pub blocks: Vec<Block<'a>>,
pub span: Span,
}Expand description
A single footnote definition.
Fields§
§label: CowStr<'a>Footnote label (e.g., “1”, “note”).
blocks: Vec<Block<'a>>Footnote content blocks.
span: SpanSource span.
Trait Implementations§
Source§impl<'a> Clone for FootnoteDef<'a>
impl<'a> Clone for FootnoteDef<'a>
Source§fn clone(&self) -> FootnoteDef<'a>
fn clone(&self) -> FootnoteDef<'a>
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<'a> Debug for FootnoteDef<'a>
impl<'a> Debug for FootnoteDef<'a>
Source§impl<'a> PartialEq for FootnoteDef<'a>
impl<'a> PartialEq for FootnoteDef<'a>
impl<'a> StructuralPartialEq for FootnoteDef<'a>
Auto Trait Implementations§
impl<'a> Freeze for FootnoteDef<'a>
impl<'a> RefUnwindSafe for FootnoteDef<'a>
impl<'a> Send for FootnoteDef<'a>
impl<'a> Sync for FootnoteDef<'a>
impl<'a> Unpin for FootnoteDef<'a>
impl<'a> UnwindSafe for FootnoteDef<'a>
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