Enum MetaExprKind
pub enum MetaExprKind {
Ident,
Int,
Bool,
String,
Type,
Call,
BuildExpr,
Quote,
Splice,
}Expand description
Meta expression category indexed by MetaExprId.
Variants§
Ident
Identifier reference.
Int
Integer literal.
Bool
Boolean literal.
String
String literal.
Type
Type literal expression.
Call
Meta call.
BuildExpr
Typed expression builder.
Quote
Quote expression.
Splice
Splice expression.
Trait Implementations§
§impl Clone for MetaExprKind
impl Clone for MetaExprKind
§fn clone(&self) -> MetaExprKind
fn clone(&self) -> MetaExprKind
Returns a copy 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 more§impl Debug for MetaExprKind
impl Debug for MetaExprKind
§impl PartialEq for MetaExprKind
impl PartialEq for MetaExprKind
impl Copy for MetaExprKind
impl Eq for MetaExprKind
impl StructuralPartialEq for MetaExprKind
Auto Trait Implementations§
impl Freeze for MetaExprKind
impl RefUnwindSafe for MetaExprKind
impl Send for MetaExprKind
impl Sync for MetaExprKind
impl Unpin for MetaExprKind
impl UnwindSafe for MetaExprKind
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