Struct v8::template::FunctionTemplate [] [src]

pub struct FunctionTemplate(_, _);

A FunctionTemplate is used to create functions at runtime.

There can only be one function created from a FunctionTemplate in a context. Any modification of a FunctionTemplate after first instantiation will trigger a crash. A FunctionTemplate can have properties, these properties are added to the function object when it is created.

Methods

impl FunctionTemplate
[src]

Creates a function template.

Returns the unique function instance in the current execution context.

Trait Implementations

impl Debug for FunctionTemplate
[src]

Formats the value using the given formatter.

impl Deref for FunctionTemplate
[src]

The resulting type after dereferencing

The method called to dereference a value

impl Clone for FunctionTemplate
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Drop for FunctionTemplate
[src]

A method called when the value goes out of scope. Read more