pub enum BinderKind {
Parameter,
Assignment,
Function,
Let,
Catch,
}Expand description
What introduced a local binding.
Variants§
Parameter
Assignment
x = e inside a body.
Function
def f(…) inside a body, or a named let.
Let
Catch
Trait Implementations§
Source§impl Clone for BinderKind
impl Clone for BinderKind
impl Copy for BinderKind
Source§impl Debug for BinderKind
impl Debug for BinderKind
impl Eq for BinderKind
Source§impl PartialEq for BinderKind
impl PartialEq for BinderKind
impl StructuralPartialEq for BinderKind
Auto Trait Implementations§
impl Freeze for BinderKind
impl RefUnwindSafe for BinderKind
impl Send for BinderKind
impl Sync for BinderKind
impl Unpin for BinderKind
impl UnsafeUnpin for BinderKind
impl UnwindSafe for BinderKind
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