pub struct BranchArm {
pub pattern: RcExpr,
pub value: RcExpr,
}Expand description
A match-value pair, representing one possible direction of control flow.
Fields§
§pattern: RcExprThe pattern that may match the discriminant.
value: RcExprThe expression to evaluate when pattern matches.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BranchArm
impl !RefUnwindSafe for BranchArm
impl !Send for BranchArm
impl !Sync for BranchArm
impl Unpin for BranchArm
impl !UnwindSafe for BranchArm
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