Struct neon::types::function::ConstructOptions [−][src]
pub struct ConstructOptions<'a> { /* fields omitted */ }Expand description
A builder for making a JavaScript constructor call like new Array(16).
The builder methods make it convenient to assemble the call from parts:
let obj = url
.construct_with(&cx)
.arg(cx.string("https://neon-bindings.com"))
.apply(&mut cx)?;Implementations
Add an argument to the arguments list.
Add multiple arguments to the arguments list.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for ConstructOptions<'a>
impl<'a> !Send for ConstructOptions<'a>
impl<'a> !Sync for ConstructOptions<'a>
impl<'a> Unpin for ConstructOptions<'a>
impl<'a> UnwindSafe for ConstructOptions<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more