#[non_exhaustive]pub enum BoxKind {
Horizontal,
Vertical,
Math,
Text,
}Expand description
Distinguishes the axis or mode of a TeX box.
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 box (hbox), items laid out left to right.
Vertical
Vertical box (vbox), items stacked top to bottom.
Math
Math mode box.
Text
Box produced by text layout inside math or normal text.
Trait Implementations§
impl Copy for BoxKind
impl Eq for BoxKind
impl StructuralPartialEq for BoxKind
Auto Trait Implementations§
impl Freeze for BoxKind
impl RefUnwindSafe for BoxKind
impl Send for BoxKind
impl Sync for BoxKind
impl Unpin for BoxKind
impl UnsafeUnpin for BoxKind
impl UnwindSafe for BoxKind
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