pub enum EffectArg {
Str(String),
Int(i64),
Ident(String),
}Expand description
Mirror of lex-ast::EffectArg. Type-level effects use this so
the checker, lex-vcs ChangeEffectSig, and the runtime gate all
reason about the same shape (#207).
Variants§
Trait Implementations§
impl Eq for EffectArg
Source§impl Ord for EffectArg
impl Ord for EffectArg
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for EffectArg
impl PartialOrd for EffectArg
impl StructuralPartialEq for EffectArg
Auto Trait Implementations§
impl Freeze for EffectArg
impl RefUnwindSafe for EffectArg
impl Send for EffectArg
impl Sync for EffectArg
impl Unpin for EffectArg
impl UnsafeUnpin for EffectArg
impl UnwindSafe for EffectArg
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.