pub enum CommandCategory {
Show 14 variants
Symbol,
Greek,
BinaryOperator,
Relation,
Arrow,
Delimiter,
LargeOperator,
Accent,
Spacing,
Function,
Font,
Environment,
Structural,
Unsupported,
}Expand description
MathJax-style command category.
Variants§
Symbol
Direct symbol such as \infty.
Greek
Greek letter or variant.
BinaryOperator
Binary operator.
Relation
Relation symbol.
Arrow
Arrow symbol.
Delimiter
Delimiter command.
LargeOperator
Large operator.
Accent
Accent command that owns one argument.
Spacing
Spacing command.
Function
Function/operator name.
Font
Font or style command.
Environment
Environment name.
Structural
Structural TeX command parsed specially.
Unsupported
Known MathJax command outside mdwright’s Unicode subset.
Trait Implementations§
Source§impl Clone for CommandCategory
impl Clone for CommandCategory
Source§fn clone(&self) -> CommandCategory
fn clone(&self) -> CommandCategory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommandCategory
impl Debug for CommandCategory
Source§impl PartialEq for CommandCategory
impl PartialEq for CommandCategory
Source§fn eq(&self, other: &CommandCategory) -> bool
fn eq(&self, other: &CommandCategory) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CommandCategory
impl Eq for CommandCategory
impl StructuralPartialEq for CommandCategory
Auto Trait Implementations§
impl Freeze for CommandCategory
impl RefUnwindSafe for CommandCategory
impl Send for CommandCategory
impl Sync for CommandCategory
impl Unpin for CommandCategory
impl UnsafeUnpin for CommandCategory
impl UnwindSafe for CommandCategory
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