pub enum Variable<'tree> {
NonlocalVariable(Box<NonlocalVariable<'tree>>),
Constant(Box<Constant<'tree>>),
Identifier(Box<Identifier<'tree>>),
SelfType(Box<SelfType<'tree>>),
Super(Box<Super<'tree>>),
}Variants§
NonlocalVariable(Box<NonlocalVariable<'tree>>)
Constant(Box<Constant<'tree>>)
Identifier(Box<Identifier<'tree>>)
SelfType(Box<SelfType<'tree>>)
Super(Box<Super<'tree>>)
Trait Implementations§
Auto Trait Implementations§
impl<'tree> Freeze for Variable<'tree>
impl<'tree> RefUnwindSafe for Variable<'tree>
impl<'tree> Send for Variable<'tree>
impl<'tree> Sync for Variable<'tree>
impl<'tree> Unpin for Variable<'tree>
impl<'tree> UnsafeUnpin for Variable<'tree>
impl<'tree> UnwindSafe for Variable<'tree>
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