pub struct CiteContext {
pub style: Format,
pub references: Vec<Reference>,
pub numbers: BTreeMap<String, usize>,
}Expand description
Resolved citation context for a document: the active style, every defined reference (definition order), and the IEEE/ACM number assigned to each key.
Fields§
§style: FormatActive citation style.
references: Vec<Reference>All references defined via ::cite, in definition order.
numbers: BTreeMap<String, usize>Key → citation number (cited keys first in citation order, then any defined-but-uncited references in definition order). Used by IEEE/ACM.
Trait Implementations§
Source§impl Clone for CiteContext
impl Clone for CiteContext
Source§fn clone(&self) -> CiteContext
fn clone(&self) -> CiteContext
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 CiteContext
impl RefUnwindSafe for CiteContext
impl Send for CiteContext
impl Sync for CiteContext
impl Unpin for CiteContext
impl UnsafeUnpin for CiteContext
impl UnwindSafe for CiteContext
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