Enum napi_derive_backend::NapiItem[][src]

pub enum NapiItem {
    Fn(NapiFn),
    Struct(NapiStruct),
    Impl(NapiImpl),
    Enum(NapiEnum),
}

Variants

Fn(NapiFn)

Tuple Fields of Fn

0: NapiFn
Struct(NapiStruct)

Tuple Fields of Struct

0: NapiStruct
Impl(NapiImpl)

Tuple Fields of Impl

0: NapiImpl
Enum(NapiEnum)

Tuple Fields of Enum

0: NapiEnum

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.