[][src]Enum wasm_bindgen_backend::ast::ImportKind

pub enum ImportKind {
    Function(ImportFunction),
    Static(ImportStatic),
    Type(ImportType),
    Enum(ImportEnum),
}

Variants

Function(ImportFunction)
Static(ImportStatic)

Methods

impl ImportKind[src]

pub fn fits_on_impl(&self) -> bool[src]

Whether this type can be inside an impl block.

Trait Implementations

impl TryToTokens for ImportKind[src]

impl ImportedTypes for ImportKind[src]

impl Clone for ImportKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ImportedTypeDefinitions for T where
    T: ImportedTypes
[src]

impl<T> ImportedTypeReferences for T where
    T: ImportedTypes
[src]

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

impl<T> From<T> for 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.

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

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

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