pub(super) enum PatMode {
Assign,
Decl,
}
Variants
Assign
Used for assignment expressions
Decl
Used for variable declarations, function parameters and parameter of a catch clause
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PatMode
impl Send for PatMode
impl Sync for PatMode
impl Unpin for PatMode
impl UnwindSafe for PatMode
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