Struct rusty_v8::UnboundScript [−][src]
#[repr(C)]pub struct UnboundScript(_);
Expand description
A compiled JavaScript script, not yet tied to a Context.
Implementations
Binds the script to the currently entered context.
Creates and returns code cache for the specified unbound_script. This will return nullptr if the script cannot be serialized. The CachedData returned by this function should be owned by the caller.
Methods from Deref<Target = Data>
Returns the V8 hash value for this value. The current implementation uses a hidden property to store the identity hash on some object types.
The return value will never be 0. Also, it is not guaranteed to be unique.
Returns true if this data is a Private
.
Returns true if this data is an ObjectTemplate
Returns true if this data is a FunctionTemplate.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UnboundScript
impl Send for UnboundScript
impl Sync for UnboundScript
impl Unpin for UnboundScript
impl UnwindSafe for UnboundScript