pub enum SwitchRuleBody {
Expression(Expr),
Block(Block),
Throw(Expr),
}Variants§
Trait Implementations§
Source§impl Clone for SwitchRuleBody
impl Clone for SwitchRuleBody
Source§impl Debug for SwitchRuleBody
impl Debug for SwitchRuleBody
Source§impl From<Block> for SwitchRuleBody
impl From<Block> for SwitchRuleBody
Source§impl From<Expr> for SwitchRuleBody
impl From<Expr> for SwitchRuleBody
Source§impl PartialEq for SwitchRuleBody
impl PartialEq for SwitchRuleBody
impl StructuralPartialEq for SwitchRuleBody
Auto Trait Implementations§
impl Forget for SwitchRuleBody
impl Freeze for SwitchRuleBody
impl Move for SwitchRuleBody
impl RefUnwindSafe for SwitchRuleBody
impl Send for SwitchRuleBody
impl Sync for SwitchRuleBody
impl Unpin for SwitchRuleBody
impl UnsafeUnpin for SwitchRuleBody
impl UnwindSafe for SwitchRuleBody
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