Enum hoodlum::ast::Seq
[−]
[src]
pub enum Seq { If(Expr, SeqBlock, Option<SeqBlock>), Set(BlockType, Ident, Expr), SetIndex(BlockType, Ident, Expr, Expr), SetRange(BlockType, Ident, Expr, Expr, Expr), Match(Expr, Vec<(Vec<Expr>, SeqBlock)>), While(Expr, SeqBlock), Loop(SeqBlock), Async(SeqBlock), FsmCaseTransition(Ident), Fsm(Vec<(Ident, SeqBlock)>), Yield, Await(Expr), FsmCase(Vec<(Vec<i32>, SeqBlock)>), FsmTransition(u32), }
Variants
If(Expr, SeqBlock, Option<SeqBlock>)
Set(BlockType, Ident, Expr)
SetIndex(BlockType, Ident, Expr, Expr)
SetRange(BlockType, Ident, Expr, Expr, Expr)
Match(Expr, Vec<(Vec<Expr>, SeqBlock)>)
While(Expr, SeqBlock)
Loop(SeqBlock)
Async(SeqBlock)
FsmCaseTransition(Ident)
Fsm(Vec<(Ident, SeqBlock)>)
Yield
Await(Expr)
FsmCase(Vec<(Vec<i32>, SeqBlock)>)
FsmTransition(u32)
Trait Implementations
impl Eq for Seq
[src]
impl Hash for Seq
[src]
fn hash<__H>(&self, __arg_0: &mut __H) where
__H: Hasher,
__H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq<Seq> for Seq
[src]
fn eq(&self, __arg_0: &Seq) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Seq) -> bool
This method tests for !=
.
impl Debug for Seq
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Clone for Seq
[src]
fn clone(&self) -> Seq
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more