Struct texlang::parse::ArithmeticVariable
source · pub struct ArithmeticVariable<S>(pub Option<Variable<S>>);
Expand description
Parses an arithmetic variable (integer, glue, dimension, etc).
Tuple Fields§
§0: Option<Variable<S>>
Trait Implementations§
source§impl<S: TexlangState> Parsable<S> for ArithmeticVariable<S>
impl<S: TexlangState> Parsable<S> for ArithmeticVariable<S>
source§fn parse_impl(input: &mut ExpandedStream<S>) -> Result<Self>
fn parse_impl(input: &mut ExpandedStream<S>) -> Result<Self>
Parses a value from the vm::ExpandedStream.
Auto Trait Implementations§
impl<S> Freeze for ArithmeticVariable<S>
impl<S> RefUnwindSafe for ArithmeticVariable<S>
impl<S> Send for ArithmeticVariable<S>
impl<S> Sync for ArithmeticVariable<S>
impl<S> Unpin for ArithmeticVariable<S>
impl<S> UnwindSafe for ArithmeticVariable<S>
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