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 constructor behavior. The default is ConstructorBehavior::Allow.
Set the side effect type. The default is SideEffectType::HasSideEffect.
Set the function call signature. The default is no signature.
Creates the function template.
Auto Trait Implementations
impl<'s, T> RefUnwindSafe for FunctionBuilder<'s, T> where
T: RefUnwindSafe,
impl<'s, T> !Send for FunctionBuilder<'s, T>
impl<'s, T> !Sync for FunctionBuilder<'s, T>
impl<'s, T> Unpin for FunctionBuilder<'s, T> where
T: Unpin,
impl<'s, T> UnwindSafe for FunctionBuilder<'s, T> where
T: UnwindSafe,