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
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 Debug for Type
[src]
impl Eq for Type
[src]
impl PartialEq for Type
[src]
fn eq(&self, __arg_0: &Type) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Type) -> bool
This method tests for !=
.