[][src]Enum faerie::ImportKind

pub enum ImportKind {
    Function,
    Data,
}

The kind of import this is - either a function, or a copy relocation of data from a shared library

Variants

Function

A function

Data

An imported piece of data

Methods

impl ImportKind[src]

pub fn from_decl(decl: &Decl) -> Option<Self>[src]

Accessor for the ImportKind associated with a Decl, if there is one

Trait Implementations

impl Clone for ImportKind[src]

impl Copy for ImportKind[src]

impl Debug for ImportKind[src]

impl Eq for ImportKind[src]

impl Ord for ImportKind[src]

impl PartialEq<ImportKind> for ImportKind[src]

impl PartialOrd<ImportKind> for ImportKind[src]

impl StructuralEq for ImportKind[src]

impl StructuralPartialEq for ImportKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.