Struct rusty_v8::FunctionBuilder[][src]

pub struct FunctionBuilder<'s, T> { /* fields omitted */ }
Expand description

A builder to construct the properties of a Function or FunctionTemplate.

Implementations

Create a new FunctionBuilder.

Set the associated data. The default is no associated data.

Set the function length. The default is 0.

Set the constructor behavior. The default is ConstructorBehavior::Allow.

Set the side effect type. The default is SideEffectType::HasSideEffect.

Create the function in the current execution context.

Set the function call signature. The default is no signature.

Creates the function template.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.