Expand description
The kind of variable being defined (var
/let
/const
)
Variants
Var(Option<Slice<'a>>)
Let(Slice<'a>)
Const(Slice<'a>)
Implementations
Trait Implementations
sourceimpl<'a> PartialEq<VarKind<'a>> for VarKind<'a>
impl<'a> PartialEq<VarKind<'a>> for VarKind<'a>
impl<'a> StructuralPartialEq for VarKind<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for VarKind<'a>
impl<'a> Send for VarKind<'a>
impl<'a> Sync for VarKind<'a>
impl<'a> Unpin for VarKind<'a>
impl<'a> UnwindSafe for VarKind<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more