Struct glsl::syntax::SelectionStatement
source · pub struct SelectionStatement {
pub cond: Box<Expr>,
pub rest: SelectionRestStatement,
}
Expand description
Selection statement.
Fields§
§cond: Box<Expr>
§rest: SelectionRestStatement
Trait Implementations§
source§impl Clone for SelectionStatement
impl Clone for SelectionStatement
source§fn clone(&self) -> SelectionStatement
fn clone(&self) -> SelectionStatement
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 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
source§fn eq(&self, other: &SelectionStatement) -> bool
fn eq(&self, other: &SelectionStatement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SelectionStatement
Auto Trait Implementations§
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