Enum paralegal_spdg::rustc::mir::BindingForm
source · pub enum BindingForm<'tcx> {
Var(VarBindingForm<'tcx>),
ImplicitSelf(ImplicitSelfKind),
RefForGuard,
}
Variants§
Var(VarBindingForm<'tcx>)
This is a binding for a non-self
binding, or a self
that has an explicit type.
ImplicitSelf(ImplicitSelfKind)
Binding for a self
/&self
/&mut self
binding where the type is implicit.
RefForGuard
Reference used in a guard expression to ensure immutability.
Auto Trait Implementations§
impl<'tcx> !RefUnwindSafe for BindingForm<'tcx>
impl<'tcx> !Send for BindingForm<'tcx>
impl<'tcx> !Sync for BindingForm<'tcx>
impl<'tcx> Unpin for BindingForm<'tcx>
impl<'tcx> !UnwindSafe for BindingForm<'tcx>
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