Struct mathemascii::Var
source · pub struct Var {
pub kind: VarKind,
pub span: Span,
}
Expand description
Variable in Ascii math, meaning a symbol that stands on it’s own.
Fields§
§kind: VarKind
Kind of variable.
span: Span
Span occupied by this variable.
Implementations§
Trait Implementations§
source§impl IntoElements for Var
impl IntoElements for Var
source§fn into_elements(self) -> Elements
fn into_elements(self) -> Elements
Converts the type into elements.
source§impl Ord for Var
impl Ord for Var
source§impl PartialOrd for Var
impl PartialOrd for Var
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Var
impl StructuralEq for Var
impl StructuralPartialEq for Var
Auto Trait Implementations§
impl RefUnwindSafe for Var
impl Send for Var
impl Sync for Var
impl Unpin for Var
impl UnwindSafe for Var
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