Struct valkyrie_ast::BreakStatement
source · pub struct BreakStatement {
pub condition: Option<ExpressionNode>,
}Expand description
@br if a > 0, MIR
Fields§
§condition: Option<ExpressionNode>Break condition if exists
Trait Implementations§
source§impl Clone for BreakStatement
impl Clone for BreakStatement
source§fn clone(&self) -> BreakStatement
fn clone(&self) -> BreakStatement
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 BreakStatement
impl Debug for BreakStatement
source§impl Hash for BreakStatement
impl Hash for BreakStatement
source§impl PartialEq for BreakStatement
impl PartialEq for BreakStatement
source§fn eq(&self, other: &BreakStatement) -> bool
fn eq(&self, other: &BreakStatement) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for BreakStatement
impl StructuralPartialEq for BreakStatement
Auto Trait Implementations§
impl RefUnwindSafe for BreakStatement
impl Send for BreakStatement
impl Sync for BreakStatement
impl Unpin for BreakStatement
impl UnwindSafe for BreakStatement
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