pub struct ParsedCitation {
pub start: usize,
pub end: usize,
pub citation: Citation,
pub placement: CitationPlacement,
pub structure: CitationStructure,
}Expand description
A citation marker parsed from a document.
Fields§
§start: usizeByte offset where the citation marker starts in the source document.
end: usizeByte offset immediately after the citation marker in the source document.
citation: CitationThe parsed citation payload and its items.
placement: CitationPlacementWhere the citation was found in the source document.
structure: CitationStructureStructural scope metadata for this citation location.
Trait Implementations§
Source§impl Clone for ParsedCitation
impl Clone for ParsedCitation
Source§fn clone(&self) -> ParsedCitation
fn clone(&self) -> ParsedCitation
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 moreAuto Trait Implementations§
impl Freeze for ParsedCitation
impl RefUnwindSafe for ParsedCitation
impl Send for ParsedCitation
impl Sync for ParsedCitation
impl Unpin for ParsedCitation
impl UnsafeUnpin for ParsedCitation
impl UnwindSafe for ParsedCitation
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