Enum move_lang::parser::ast::PragmaValue
source · pub enum PragmaValue {
Literal(Value),
Ident(NameAccessChain),
}
Variants§
Literal(Value)
Ident(NameAccessChain)
Trait Implementations§
source§impl Clone for PragmaValue
impl Clone for PragmaValue
source§fn clone(&self) -> PragmaValue
fn clone(&self) -> PragmaValue
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 moresource§impl Debug for PragmaValue
impl Debug for PragmaValue
source§impl PartialEq<PragmaValue> for PragmaValue
impl PartialEq<PragmaValue> for PragmaValue
source§fn eq(&self, other: &PragmaValue) -> bool
fn eq(&self, other: &PragmaValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PragmaValue
impl StructuralEq for PragmaValue
impl StructuralPartialEq for PragmaValue
Auto Trait Implementations§
impl RefUnwindSafe for PragmaValue
impl Send for PragmaValue
impl Sync for PragmaValue
impl Unpin for PragmaValue
impl UnwindSafe for PragmaValue
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.