pub enum CitationPlacement {
InlineProse,
ManualFootnote {
label: String,
},
}Expand description
Describes where a parsed citation appears in the source document.
Variants§
InlineProse
The citation marker appears in prose and should become a generated note reference for note styles.
ManualFootnote
The citation marker appears inside a manually authored footnote definition and should render in place.
Trait Implementations§
Source§impl Clone for CitationPlacement
impl Clone for CitationPlacement
Source§fn clone(&self) -> CitationPlacement
fn clone(&self) -> CitationPlacement
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 CitationPlacement
impl Debug for CitationPlacement
impl Eq for CitationPlacement
Source§impl PartialEq for CitationPlacement
impl PartialEq for CitationPlacement
Source§fn eq(&self, other: &CitationPlacement) -> bool
fn eq(&self, other: &CitationPlacement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CitationPlacement
Auto Trait Implementations§
impl Freeze for CitationPlacement
impl RefUnwindSafe for CitationPlacement
impl Send for CitationPlacement
impl Sync for CitationPlacement
impl Unpin for CitationPlacement
impl UnsafeUnpin for CitationPlacement
impl UnwindSafe for CitationPlacement
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.