pub enum ListStyle {
Including,
SuchAs,
Dash,
Bracketed,
AmongOthers,
ToNameAFew,
PlusMore,
}Expand description
List formatting style.
Variants§
Including
“including A, B, and C among others”
SuchAs
“such as A, B, and C”
Dash
“— notably A, B, and C, plus N others”
Bracketed
“[A, B, and C, and N more]” (original format)
AmongOthers
“A, B, and C, among others” — postfix qualifier, drops remainder count.
ToNameAFew
“A, B, and C, to name a few” — postfix qualifier, drops remainder count.
PlusMore
“A, B, and C, plus N more” — postfix qualifier, uses remainder count.
Trait Implementations§
Source§impl Ord for ListStyle
impl Ord for ListStyle
1.21.0 (const: unstable) · 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 PartialOrd for ListStyle
impl PartialOrd for ListStyle
impl Copy for ListStyle
impl Eq for ListStyle
impl StructuralPartialEq for ListStyle
Auto Trait Implementations§
impl Freeze for ListStyle
impl RefUnwindSafe for ListStyle
impl Send for ListStyle
impl Sync for ListStyle
impl Unpin for ListStyle
impl UnsafeUnpin for ListStyle
impl UnwindSafe for ListStyle
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