pub struct ExecutionIfStmt {
pub condition: ExecutionExpr,
pub then_branch: Vec<ExecutionStmt>,
pub else_branch: Option<Vec<ExecutionStmt>>,
}Fields§
§condition: ExecutionExpr§then_branch: Vec<ExecutionStmt>§else_branch: Option<Vec<ExecutionStmt>>Trait Implementations§
Source§impl Clone for ExecutionIfStmt
impl Clone for ExecutionIfStmt
Source§fn clone(&self) -> ExecutionIfStmt
fn clone(&self) -> ExecutionIfStmt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExecutionIfStmt
impl Debug for ExecutionIfStmt
Source§impl PartialEq for ExecutionIfStmt
impl PartialEq for ExecutionIfStmt
Source§fn eq(&self, other: &ExecutionIfStmt) -> bool
fn eq(&self, other: &ExecutionIfStmt) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExecutionIfStmt
Auto Trait Implementations§
impl Freeze for ExecutionIfStmt
impl RefUnwindSafe for ExecutionIfStmt
impl Send for ExecutionIfStmt
impl Sync for ExecutionIfStmt
impl Unpin for ExecutionIfStmt
impl UnsafeUnpin for ExecutionIfStmt
impl UnwindSafe for ExecutionIfStmt
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