Struct javascriptcore::ContextBuilder
source · pub struct ContextBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct Context
objects.
Implementations§
source§impl ContextBuilder
impl ContextBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new ContextBuilder
.
pub fn virtual_machine(self, virtual_machine: &impl IsA<VirtualMachine>) -> Self
Trait Implementations§
source§impl Clone for ContextBuilder
impl Clone for ContextBuilder
source§fn clone(&self) -> ContextBuilder
fn clone(&self) -> ContextBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ContextBuilder
impl Default for ContextBuilder
source§fn default() -> ContextBuilder
fn default() -> ContextBuilder
Returns the “default value” for a type. Read more