pub enum VarKind {
Var,
Let,
Const,
}
Expand description
The kind of variable being defined (var
/let
/const
)
Variants
Var
Let
Const
Trait Implementations
sourceimpl PartialEq<VarKind> for VarKind
impl PartialEq<VarKind> for VarKind
impl Copy for VarKind
impl StructuralPartialEq for VarKind
Auto Trait Implementations
impl RefUnwindSafe for VarKind
impl Send for VarKind
impl Sync for VarKind
impl Unpin for VarKind
impl UnwindSafe for VarKind
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