pub enum ValueRef<'a> {
Int(&'a i32),
CatCode(&'a CatCode),
MathCode(&'a MathCode),
TokenList(&'a [Token]),
}
Expand description
Immutable reference to the value of a variable.
Variants§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ValueRef<'a>
impl<'a> Send for ValueRef<'a>
impl<'a> Sync for ValueRef<'a>
impl<'a> Unpin for ValueRef<'a>
impl<'a> UnwindSafe for ValueRef<'a>
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