pub enum ForeignKind {
Import,
Export,
}Expand description
Foreign declaration kind.
Variants§
Trait Implementations§
Source§impl Clone for ForeignKind
impl Clone for ForeignKind
Source§fn clone(&self) -> ForeignKind
fn clone(&self) -> ForeignKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ForeignKind
Source§impl Debug for ForeignKind
impl Debug for ForeignKind
impl Eq for ForeignKind
Source§impl PartialEq for ForeignKind
impl PartialEq for ForeignKind
Source§fn eq(&self, other: &ForeignKind) -> bool
fn eq(&self, other: &ForeignKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ForeignKind
Auto Trait Implementations§
impl Freeze for ForeignKind
impl RefUnwindSafe for ForeignKind
impl Send for ForeignKind
impl Sync for ForeignKind
impl Unpin for ForeignKind
impl UnsafeUnpin for ForeignKind
impl UnwindSafe for ForeignKind
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