Enum v8_api::Type [] [src]

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

The void type.

The bool type.

The unsigned char type.

The const unsigned char type.

The char type.

The const char type.

The unsigned int type.

The int type.

The unsigned long type.

The long type.

The uint8_t type.

The int8_t type.

The uint16_t type.

The int16_t type.

The uint32_t type.

The int32_t type.

The uint64_t type.

The int64_t type.

The double type.

The size_t type.

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

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

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

An argument to a callback

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

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

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

Trait Implementations

impl Debug for Type
[src]

Formats the value using the given formatter.

impl Eq for Type
[src]

impl PartialEq for Type
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for Type
[src]

Formats the value using the given formatter.