Enum v8_api::RetType [] [src]

pub enum RetType {
    Direct(Type),
    Maybe(Type),
}

The return type of a method.

Variants

The type is directly returned. For primitives T, this means just T (e.g. int). For references to T, this means Local<T> (e.g. Local<String>). For pointers to T, this means a non-null pointer T *.

The type might be absent. For primitives T, this means Maybe<T> (e.g. Maybe<int>). For references to T, this means MaybeLocal<T>. For pointers to T, this means a nullable pointer T *.

Trait Implementations

impl Debug for RetType
[src]

Formats the value using the given formatter.

impl Display for RetType
[src]

Formats the value using the given formatter.