Struct cranelift_isle::sema::IfLet
source · [−]Expand description
An if-let
clause with a subpattern match on an expr after the
main LHS matches.
Fields
lhs: Pattern
The left-hand side pattern that this if-let
clause matches
against the expression below.
rhs: Expr
The right-hand side expression that this pattern evaluates. Must be pure.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for IfLet
impl Send for IfLet
impl Sync for IfLet
impl Unpin for IfLet
impl UnwindSafe for IfLet
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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