[][src]Enum v8_api::Type

pub enum Type {
    Void,
    Bool,
    UChar,
    ConstUChar,
    Char,
    ConstChar,
    UInt,
    Int,
    ULong,
    Long,
    U8,
    I8,
    U16,
    I16,
    U32,
    I32,
    U64,
    I64,
    F64,
    USize,
    Class(String),
    Enum(String),
    Callback(String),
    CallbackLValue(String),
    Ref(Box<Type>),
    Ptr(Box<Type>),
    Arr(Box<Type>),
}

The types used in V8.

Variants

Void

The void type.

Bool

The bool type.

UChar

The unsigned char type.

ConstUChar

The const unsigned char type.

Char

The char type.

ConstChar

The const char type.

UInt

The unsigned int type.

Int

The int type.

ULong

The unsigned long type.

Long

The long type.

U8

The uint8_t type.

I8

The int8_t type.

U16

The uint16_t type.

I16

The int16_t type.

U32

The uint32_t type.

I32

The int32_t type.

U64

The uint64_t type.

I64

The int64_t type.

F64

The double type.

USize

The size_t type.

Class(String)

A class with the specified name, without the v8:: prefix.

Enum(String)

An enum with the specified name, without the v8:: prefix.

Callback(String)

A callback function pointer name, without the v8:: prefix.

CallbackLValue(String)

An argument to a callback

Ref(Box<Type>)

A reference to the specified type, meaning a Local<T> or MaybeLocal<T>.

Ptr(Box<Type>)

A pointer to the specified type, i.e. T *.

Arr(Box<Type>)

An array of the specified type, i.e. T[].

Trait Implementations

impl Eq for Type[src]

impl PartialEq<Type> for Type[src]

impl Debug for Type[src]

impl Display for Type[src]

Auto Trait Implementations

impl Send for Type

impl Sync for Type

Blanket Implementations

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

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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