Enum move_compiler::expansion::ast::AttributeValue_
source · [−]pub enum AttributeValue_ {
Value(Value),
ModuleAccess(ModuleAccess),
}
Variants
Value(Value)
ModuleAccess(ModuleAccess)
Trait Implementations
sourceimpl Clone for AttributeValue_
impl Clone for AttributeValue_
sourcefn clone(&self) -> AttributeValue_
fn clone(&self) -> AttributeValue_
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AttributeValue_
impl Debug for AttributeValue_
sourceimpl PartialEq<AttributeValue_> for AttributeValue_
impl PartialEq<AttributeValue_> for AttributeValue_
sourcefn 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 ==
. Read more
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.