pub struct SwitchStatement {
pub expression: Box<Node<Expression>>,
pub statement: Box<Node<Statement>>,
}
Expand description
Switch statement
(C11 6.8.4)
Fields§
§expression: Box<Node<Expression>>
§statement: Box<Node<Statement>>
Trait Implementations§
Source§impl Clone for SwitchStatement
impl Clone for SwitchStatement
Source§fn clone(&self) -> SwitchStatement
fn clone(&self) -> SwitchStatement
Returns a copy 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 moreSource§impl Debug for SwitchStatement
impl Debug for SwitchStatement
Source§impl PartialEq for SwitchStatement
impl PartialEq for SwitchStatement
impl StructuralPartialEq for SwitchStatement
Auto Trait Implementations§
impl Freeze for SwitchStatement
impl RefUnwindSafe for SwitchStatement
impl Send for SwitchStatement
impl Sync for SwitchStatement
impl Unpin for SwitchStatement
impl UnwindSafe for SwitchStatement
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