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