Struct v8::template::ObjectTemplate [] [src]

pub struct ObjectTemplate(_, _);

An ObjectTemplate is used to create objects at runtime.

Properties added to an ObjectTemplate are added to each object created from the ObjectTemplate.

Methods

impl ObjectTemplate
[src]

Creates an ObjectTemplate.

Sets the number of internal fields for objects generated from this template.

Creates a new object instance based off of this template.

Creates an object template from a set of raw pointers.

Returns the underlying raw pointer behind this object template.

Trait Implementations

impl Debug for ObjectTemplate
[src]

Formats the value using the given formatter.

impl Deref for ObjectTemplate
[src]

The resulting type after dereferencing

The method called to dereference a value

impl Clone for ObjectTemplate
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Drop for ObjectTemplate
[src]

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