pub enum JumpStatement {
Return(Box<JumpStatementReturn>),
Break(Box<JumpStatementBreak>),
Continue(Box<JumpStatementContinue>),
}
Variants§
Return(Box<JumpStatementReturn>)
Break(Box<JumpStatementBreak>)
Continue(Box<JumpStatementContinue>)
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<'a> From<&'a JumpStatement> for RefNode<'a>
impl<'a> From<&'a JumpStatement> for RefNode<'a>
source§fn from(x: &'a JumpStatement) -> Self
fn from(x: &'a JumpStatement) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a JumpStatement> for RefNodes<'a>
impl<'a> From<&'a JumpStatement> for RefNodes<'a>
source§fn from(x: &'a JumpStatement) -> Self
fn from(x: &'a JumpStatement) -> Self
Converts to this type from the input type.
source§impl From<JumpStatement> for AnyNode
impl From<JumpStatement> for AnyNode
source§fn from(x: JumpStatement) -> Self
fn from(x: JumpStatement) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a JumpStatement
impl<'a> IntoIterator for &'a JumpStatement
source§impl PartialEq<JumpStatement> for JumpStatement
impl PartialEq<JumpStatement> 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 ==
.