Enum rusty_v8::ConstructorBehavior [−][src]
#[repr(C)] pub enum ConstructorBehavior { Throw, Allow, }
Expand description
ConstructorBehavior::Allow creates a regular API function.
ConstructorBehavior::Throw creates a “concise” API function, a function without a “.prototype” property, that is somewhat faster to create and has a smaller footprint. Functionally equivalent to ConstructorBehavior::Allow followed by a call to FunctionTemplate::RemovePrototype().
Variants
Auto Trait Implementations
impl RefUnwindSafe for ConstructorBehavior
impl Send for ConstructorBehavior
impl Sync for ConstructorBehavior
impl Unpin for ConstructorBehavior
impl UnwindSafe for ConstructorBehavior