pub struct IfStatement {
pub predicate: Expression,
pub if_branch: Vec<Statement>,
pub else_branch: Vec<Statement>,
}
Fields
predicate: Expression
if_branch: Vec<Statement>
else_branch: Vec<Statement>
Implementations
sourceimpl IfStatement
impl IfStatement
Trait Implementations
sourceimpl Clone for IfStatement
impl Clone for IfStatement
sourcefn clone(&self) -> IfStatement
fn clone(&self) -> IfStatement
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for IfStatement
impl Debug for IfStatement
sourceimpl PartialEq<IfStatement> for IfStatement
impl PartialEq<IfStatement> for IfStatement
sourcefn eq(&self, other: &IfStatement) -> bool
fn eq(&self, other: &IfStatement) -> bool
impl Eq for IfStatement
impl StructuralEq for IfStatement
impl StructuralPartialEq for IfStatement
Auto Trait Implementations
impl RefUnwindSafe for IfStatement
impl Send for IfStatement
impl Sync for IfStatement
impl Unpin for IfStatement
impl UnwindSafe for IfStatement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more