Enum sway_core::transform::AttributeKind
source · pub enum AttributeKind {
Doc,
Storage,
Inline,
Test,
}
Expand description
Valid kinds of attributes supported by the compiler
Variants§
Trait Implementations§
source§impl Clone for AttributeKind
impl Clone for AttributeKind
source§fn clone(&self) -> AttributeKind
fn clone(&self) -> AttributeKind
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 AttributeKind
impl Debug for AttributeKind
source§impl Hash for AttributeKind
impl Hash for AttributeKind
source§impl PartialEq<AttributeKind> for AttributeKind
impl PartialEq<AttributeKind> for AttributeKind
source§fn eq(&self, other: &AttributeKind) -> bool
fn eq(&self, other: &AttributeKind) -> bool
impl Eq for AttributeKind
impl StructuralEq for AttributeKind
impl StructuralPartialEq for AttributeKind
Auto Trait Implementations§
impl RefUnwindSafe for AttributeKind
impl Send for AttributeKind
impl Sync for AttributeKind
impl Unpin for AttributeKind
impl UnwindSafe for AttributeKind
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.