pub struct Arm {
pub variant: Ident,
pub args: Vec<Ident>,
pub body: SpecExpr,
pub pos: Pos,
}Expand description
Arm of a spec match expression.
Fields§
§variant: Ident§args: Vec<Ident>§body: SpecExpr§pos: PosTrait Implementations§
impl Eq for Arm
impl StructuralPartialEq for Arm
Auto Trait Implementations§
impl Freeze for Arm
impl RefUnwindSafe for Arm
impl Send for Arm
impl Sync for Arm
impl Unpin for Arm
impl UnsafeUnpin for Arm
impl UnwindSafe for Arm
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