pub struct StatementBranch {
pub condition: Expression,
pub body: Box<StatementBody>,
}Fields§
§condition: Expression§body: Box<StatementBody>Trait Implementations§
Source§impl Clone for StatementBranch
impl Clone for StatementBranch
Source§fn clone(&self) -> StatementBranch
fn clone(&self) -> StatementBranch
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 StatementBranch
impl Debug for StatementBranch
Source§impl Serialize for StatementBranch
impl Serialize for StatementBranch
Auto Trait Implementations§
impl Freeze for StatementBranch
impl RefUnwindSafe for StatementBranch
impl Send for StatementBranch
impl Sync for StatementBranch
impl Unpin for StatementBranch
impl UnsafeUnpin for StatementBranch
impl UnwindSafe for StatementBranch
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