Enum MetaStmt
pub(in meta) enum MetaStmt {
Let {
name: String,
value: MetaExpr,
},
Match {
value: MetaExpr,
arms: Vec<MetaMatchArm>,
},
Meta {
body: MetaBlock,
},
Expr {
expr: MetaExpr,
},
}Expand description
Meta statement.
Variants§
Let
Binding declaration statement.
Fields
Match
Meta match expression statement.
Fields
§
arms: Vec<MetaMatchArm>Match arms evaluated in order.
Meta
Embedded meta block statement.
Expr
Standalone expression statement.
Trait Implementations§
impl Eq for MetaStmt
impl StructuralPartialEq for MetaStmt
Auto Trait Implementations§
impl Freeze for MetaStmt
impl RefUnwindSafe for MetaStmt
impl Send for MetaStmt
impl Sync for MetaStmt
impl Unpin for MetaStmt
impl UnwindSafe for MetaStmt
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more