Enum v8_api::Type
[−]
[src]
pub enum Type {
Void,
Bool,
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
VoidThe void type.
BoolThe bool type.
CharThe char type.
ConstCharThe const char type.
UIntThe unsigned int type.
IntThe int type.
ULongThe unsigned long type.
LongThe long type.
U8The uint8_t type.
I8The int8_t type.
U16The uint16_t type.
I16The int16_t type.
U32The uint32_t type.
I32The int32_t type.
U64The uint64_t type.
I64The int64_t type.
F64The double type.
USizeThe 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 !=.