#[non_exhaustive]pub enum ListKind {
Horizontal,
Vertical,
Math,
Paragraph,
Text,
}Expand description
Distinguishes the axis or mode of a TeX list.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Horizontal
Horizontal list (hlist), items laid out left to right.
Vertical
Vertical list (vlist), items stacked top to bottom.
Math
Math mode list.
Paragraph
Paragraph list before line breaking.
Text
Text list, including text inside math.
Trait Implementations§
impl Copy for ListKind
impl Eq for ListKind
impl StructuralPartialEq for ListKind
Auto Trait Implementations§
impl Freeze for ListKind
impl RefUnwindSafe for ListKind
impl Send for ListKind
impl Sync for ListKind
impl Unpin for ListKind
impl UnsafeUnpin for ListKind
impl UnwindSafe for ListKind
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