pub enum NumberVariable {
Show 18 variants
ChapterNumber,
CitationNumber,
CollectionNumber,
Edition,
FirstReferenceNoteNumber,
Issue,
Locator,
Number,
NumberOfPages,
NumberOfVolumes,
Page,
PageFirst,
PartNumber,
PrintingNumber,
Section,
SupplementNumber,
Version,
Volume,
}Expand description
CSL number variables (specification Appendix IV).
Stored as strings because CSL numbers may carry affixes (2E) and
ranges (5-7); extraction is the processor’s concern, not this model’s.
Variants§
ChapterNumber
CitationNumber
CollectionNumber
Edition
FirstReferenceNoteNumber
Issue
Locator
Number
NumberOfPages
NumberOfVolumes
Page
PageFirst
PartNumber
PrintingNumber
Section
SupplementNumber
Version
Volume
Implementations§
Trait Implementations§
Source§impl Clone for NumberVariable
impl Clone for NumberVariable
Source§fn clone(&self) -> NumberVariable
fn clone(&self) -> NumberVariable
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 NumberVariable
impl Debug for NumberVariable
Source§impl Display for NumberVariable
impl Display for NumberVariable
Source§impl Hash for NumberVariable
impl Hash for NumberVariable
Source§impl Ord for NumberVariable
impl Ord for NumberVariable
Source§fn cmp(&self, other: &NumberVariable) -> Ordering
fn cmp(&self, other: &NumberVariable) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NumberVariable
impl PartialEq for NumberVariable
Source§impl PartialOrd for NumberVariable
impl PartialOrd for NumberVariable
impl Copy for NumberVariable
impl Eq for NumberVariable
impl StructuralPartialEq for NumberVariable
Auto Trait Implementations§
impl Freeze for NumberVariable
impl RefUnwindSafe for NumberVariable
impl Send for NumberVariable
impl Sync for NumberVariable
impl Unpin for NumberVariable
impl UnsafeUnpin for NumberVariable
impl UnwindSafe for NumberVariable
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