pub enum AstControlStatement {
If(IfStatement),
ForLoop(ForLoopStatement),
WhileLoop(LoopStatement),
RepeatLoop(LoopStatement),
Case(CaseStatement),
}Variants§
If(IfStatement)
ForLoop(ForLoopStatement)
WhileLoop(LoopStatement)
RepeatLoop(LoopStatement)
Case(CaseStatement)
Trait Implementations§
Source§impl Clone for AstControlStatement
impl Clone for AstControlStatement
Source§fn clone(&self) -> AstControlStatement
fn clone(&self) -> AstControlStatement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AstControlStatement
impl Debug for AstControlStatement
Source§impl<'de> Deserialize<'de> for AstControlStatementwhere
'de: 'static,
impl<'de> Deserialize<'de> for AstControlStatementwhere
'de: 'static,
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 AstControlStatement
impl PartialEq for AstControlStatement
Source§fn eq(&self, other: &AstControlStatement) -> bool
fn eq(&self, other: &AstControlStatement) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AstControlStatement
impl Serialize for AstControlStatement
Source§impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime AstControlStatement
impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime AstControlStatement
Source§type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>
type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>
The type returned in the event of a conversion error.
Source§impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut AstControlStatement
impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut AstControlStatement
Source§type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>
type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>
The type returned in the event of a conversion error.
Source§impl TryFrom<AstStatement> for AstControlStatement
impl TryFrom<AstStatement> for AstControlStatement
Source§type Error = TryIntoError<AstStatement>
type Error = TryIntoError<AstStatement>
The type returned in the event of a conversion error.
Source§impl Walker for AstControlStatement
impl Walker for AstControlStatement
fn walk<V>(&self, visitor: &mut V)where
V: AstVisitor,
Source§impl WalkerMut for AstControlStatement
impl WalkerMut for AstControlStatement
fn walk<V>(&mut self, visitor: &mut V)where
V: AstVisitorMut,
impl StructuralPartialEq for AstControlStatement
Auto Trait Implementations§
impl Freeze for AstControlStatement
impl RefUnwindSafe for AstControlStatement
impl Send for AstControlStatement
impl Sync for AstControlStatement
impl Unpin for AstControlStatement
impl UnsafeUnpin for AstControlStatement
impl UnwindSafe for AstControlStatement
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