pub enum Collapse {
CitationNumber,
Year,
YearSuffix,
YearSuffixRanged,
}Expand description
How to collapse cites with similar items.
Variants§
CitationNumber
Collapse items with increasing ranges for numeric styles.
Year
Collapse items with the same authors and different years by omitting the author.
YearSuffix
Same as Year, but equal years are omitted as well.
YearSuffixRanged
Same as YearSuffix, but also collapse the suffixes into a range.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Collapse
impl<'de> Deserialize<'de> for Collapse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Collapse
impl Eq for Collapse
impl StructuralPartialEq for Collapse
Auto Trait Implementations§
impl Freeze for Collapse
impl RefUnwindSafe for Collapse
impl Send for Collapse
impl Sync for Collapse
impl Unpin for Collapse
impl UnwindSafe for Collapse
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