pub enum AtomClass {
Ord,
Op,
Bin,
Rel,
Open,
Close,
Punct,
Inner,
}Expand description
TeX’s eight atom classes.
Variants§
Ord
Ordinary: letters, digits, most symbols.
Op
Large operator: \sum, \int, \lim, …
Bin
Binary operation: +, −, \times, …
Rel
Relation: =, <, \le, arrows, …
Open
Opening delimiter: (, [, \langle, …
Close
Closing delimiter: ), ], \rangle, …
Punct
Punctuation: ,, ;, …
Inner
Inner: fractions, \left…\right groups, \ldots-class dots.
Implementations§
Trait Implementations§
impl Copy for AtomClass
impl Eq for AtomClass
impl StructuralPartialEq for AtomClass
Auto Trait Implementations§
impl Freeze for AtomClass
impl RefUnwindSafe for AtomClass
impl Send for AtomClass
impl Sync for AtomClass
impl Unpin for AtomClass
impl UnsafeUnpin for AtomClass
impl UnwindSafe for AtomClass
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