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 duplicate 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
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.