pub enum JumpStatement {
Goto(String),
Continue,
Break,
Return(Option<Expression>),
}Expand description
Jump statement
Variants§
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<'de> Deserialize<'de> for JumpStatement
impl<'de> Deserialize<'de> for JumpStatement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for JumpStatement
impl PartialEq for JumpStatement
Source§impl Serialize for JumpStatement
impl Serialize 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