pub enum BindOp {
Let,
Type,
Fn,
Mod,
Impl,
Struct,
Enum,
For,
}Expand description
Variants§
Let
A let Pat (= Expr (else Expr)?)? binding
Type
A type-alias binding
Fn
A fn Pat Expr binding
Mod
A mod Pat Expr binding
Impl
An impl Pat Expr binding
Struct
A struct definition
Enum
An enum definition
For
A for Pat in Expr Expr (else Expr)? binding
Trait Implementations§
impl Copy for BindOp
impl Eq for BindOp
impl StructuralPartialEq for BindOp
Auto Trait Implementations§
impl Freeze for BindOp
impl RefUnwindSafe for BindOp
impl Send for BindOp
impl Sync for BindOp
impl Unpin for BindOp
impl UnwindSafe for BindOp
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