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) -> RefNode<'a>
fn from(x: &'a JumpStatement) -> RefNode<'a>
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) -> RefNodes<'a>
fn from(x: &'a JumpStatement) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<JumpStatement> for AnyNode
impl From<JumpStatement> for AnyNode
source§fn from(x: JumpStatement) -> AnyNode
fn from(x: JumpStatement) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a JumpStatement
impl<'a> IntoIterator for &'a 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 ==
.source§impl<'a> TryFrom<&'a JumpStatement> for Locate
impl<'a> TryFrom<&'a JumpStatement> for Locate
source§impl TryFrom<AnyNode> for JumpStatement
impl TryFrom<AnyNode> for JumpStatement
source§impl TryFrom<JumpStatement> for Locate
impl TryFrom<JumpStatement> for Locate
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