pub struct SelectionStatement {
pub cond: Box<Expr>,
pub rest: SelectionRestStatement,
}Expand description
Selection statement.
Fields§
§cond: Box<Expr>§rest: SelectionRestStatementTrait Implementations§
Source§impl Clone for SelectionStatement
impl Clone for SelectionStatement
Source§fn clone(&self) -> SelectionStatement
fn clone(&self) -> SelectionStatement
Returns a duplicate 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 SelectionStatement
impl Debug for SelectionStatement
Source§impl Host for SelectionStatement
impl Host for SelectionStatement
Source§impl HostMut for SelectionStatement
impl HostMut for SelectionStatement
Source§fn visit_mut<V>(&mut self, visitor: &mut V)where
V: VisitorMut,
fn visit_mut<V>(&mut self, visitor: &mut V)where
V: VisitorMut,
Visit an AST node.
Source§impl Parse for SelectionStatement
impl Parse for SelectionStatement
Source§impl PartialEq for SelectionStatement
impl PartialEq for SelectionStatement
impl StructuralPartialEq for SelectionStatement
Auto Trait Implementations§
impl Freeze for SelectionStatement
impl RefUnwindSafe for SelectionStatement
impl Send for SelectionStatement
impl Sync for SelectionStatement
impl Unpin for SelectionStatement
impl UnwindSafe for SelectionStatement
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