Struct naga::SwitchCase [−][src]
Expand description
A case for a switch statement.
Fields
value: i32
Value, upon which the case is considered true.
body: Block
Body of the cae.
fall_through: bool
If true, the control flow continues to the next case in the list, or default.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for SwitchCase
impl Send for SwitchCase
impl Sync for SwitchCase
impl Unpin for SwitchCase
impl UnwindSafe for SwitchCase
Blanket Implementations
Mutably borrows from an owned value. Read more