pub struct SelectBranch {
pub pattern: Pattern,
pub future_expr: Expr,
pub body: Expr,
}Expand description
A branch in a select {} expression.
Fields§
§pattern: Pattern§future_expr: Expr§body: ExprTrait Implementations§
Source§impl Clone for SelectBranch
impl Clone for SelectBranch
Source§fn clone(&self) -> SelectBranch
fn clone(&self) -> SelectBranch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SelectBranch
impl RefUnwindSafe for SelectBranch
impl Send for SelectBranch
impl Sync for SelectBranch
impl Unpin for SelectBranch
impl UnsafeUnpin for SelectBranch
impl UnwindSafe for SelectBranch
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