Enum move_lang::parser::ast::AttributeValue_
source · pub enum AttributeValue_ {
Value(Value),
ModuleAccess(NameAccessChain),
}
Variants§
Value(Value)
ModuleAccess(NameAccessChain)
Trait Implementations§
source§impl Clone for AttributeValue_
impl Clone for AttributeValue_
source§fn clone(&self) -> AttributeValue_
fn clone(&self) -> AttributeValue_
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 AttributeValue_
impl Debug for AttributeValue_
source§impl PartialEq<AttributeValue_> for AttributeValue_
impl PartialEq<AttributeValue_> for AttributeValue_
source§fn eq(&self, other: &AttributeValue_) -> bool
fn eq(&self, other: &AttributeValue_) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AttributeValue_
impl StructuralEq for AttributeValue_
impl StructuralPartialEq for AttributeValue_
Auto Trait Implementations§
impl RefUnwindSafe for AttributeValue_
impl Send for AttributeValue_
impl Sync for AttributeValue_
impl Unpin for AttributeValue_
impl UnwindSafe for AttributeValue_
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.