pub enum MathChar {
Ascii(char),
Special(MathSpecial),
SetIndex(MathIndex),
Prime,
}
Expand description
A math character is either just an ASCII character or a special character.
Variants§
Ascii(char)
A standard ASCII character.
Special(MathSpecial)
Special character denoted by a string.
SetIndex(MathIndex)
Starts lower index.
Prime
Prime (a tick)
Trait Implementations§
source§impl PartialEq for MathChar
impl PartialEq for MathChar
impl Copy for MathChar
impl Eq for MathChar
impl StructuralEq for MathChar
impl StructuralPartialEq for MathChar
Auto Trait Implementations§
impl RefUnwindSafe for MathChar
impl Send for MathChar
impl Sync for MathChar
impl Unpin for MathChar
impl UnwindSafe for MathChar
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
source§impl<T> CloneWithNode for Twhere
T: Clone,
impl<T> CloneWithNode for Twhere
T: Clone,
fn clone_with_node(&mut self) -> T
fn clone_without_node(&self) -> T
source§impl<T> Convert for T
impl<T> Convert for T
source§fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
Errors Read more
source§fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
Errors Read more