pub enum JumpStatement {
Goto(String, Range<usize>),
Continue(Range<usize>),
Break(Range<usize>),
Return(Option<Expression>, Range<usize>),
}Expand description
跳转语句
Variants§
Goto(String, Range<usize>)
Continue(Range<usize>)
Break(Range<usize>)
Return(Option<Expression>, Range<usize>)
Implementations§
Trait Implementations§
Source§impl Clone for JumpStatement
impl Clone for JumpStatement
Source§fn clone(&self) -> JumpStatement
fn clone(&self) -> JumpStatement
Returns a duplicate 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 PartialEq for JumpStatement
impl PartialEq for JumpStatement
impl StructuralPartialEq for JumpStatement
Auto Trait Implementations§
impl Freeze for JumpStatement
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