Enum wac_types::ExternKind
source · pub enum ExternKind {
Import,
Export,
}Expand description
Represents a kind of an extern item.
Variants§
Trait Implementations§
source§impl Clone for ExternKind
impl Clone for ExternKind
source§fn clone(&self) -> ExternKind
fn clone(&self) -> ExternKind
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 ExternKind
impl Debug for ExternKind
source§impl Display for ExternKind
impl Display for ExternKind
source§impl Hash for ExternKind
impl Hash for ExternKind
source§impl PartialEq for ExternKind
impl PartialEq for ExternKind
source§fn eq(&self, other: &ExternKind) -> bool
fn eq(&self, other: &ExternKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ExternKind
impl Eq for ExternKind
impl StructuralPartialEq for ExternKind
Auto Trait Implementations§
impl Freeze for ExternKind
impl RefUnwindSafe for ExternKind
impl Send for ExternKind
impl Sync for ExternKind
impl Unpin for ExternKind
impl UnwindSafe for ExternKind
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<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.