Struct koto_parser::SwitchArm [−][src]
Expand description
An arm in a switch expression
Fields
condition: Option<AstIndex>
An optional condition for the switch arm
None implies else
, and should always appear as the last arm.
expression: AstIndex
The body of the switch arm
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SwitchArm
impl UnwindSafe for SwitchArm
Blanket Implementations
Mutably borrows from an owned value. Read more