Struct rusty_v8::Data [−][src]
The superclass of objects that can reside on V8’s heap.
Implementations
impl Data[src]
pub fn get_hash(&self) -> int[src]
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.
pub fn is_value(&self) -> bool[src]
Returns true if this data is a Value.
pub fn is_module(&self) -> bool[src]
Returns true if this data is a Module.
pub fn is_private(&self) -> bool[src]
Returns true if this data is a Private.
pub fn is_object_template(&self) -> bool[src]
Returns true if this data is an ObjectTemplate
pub fn is_function_template(&self) -> bool[src]
Returns true if this data is a FunctionTemplate.
Trait Implementations
impl Debug for Data[src]
impl<'s> PartialEq<AccessorSignature> for Data[src]
fn eq(&self, other: &AccessorSignature) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Array> for Data[src]
impl<'s> PartialEq<ArrayBuffer> for Data[src]
fn eq(&self, other: &ArrayBuffer) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<ArrayBufferView> for Data[src]
fn eq(&self, other: &ArrayBufferView) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<BigInt64Array> for Data[src]
fn eq(&self, other: &BigInt64Array) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<BigIntObject> for Data[src]
fn eq(&self, other: &BigIntObject) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<BigUint64Array> for Data[src]
fn eq(&self, other: &BigUint64Array) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Boolean> for Data[src]
fn eq(&self, other: &Boolean) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<BooleanObject> for Data[src]
fn eq(&self, other: &BooleanObject) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Context> for Data[src]
fn eq(&self, other: &Context) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Data> for AccessorSignature[src]
impl<'s> PartialEq<Data> for Context[src]
impl<'s> PartialEq<Data> for Signature[src]
impl<'s> PartialEq<Data> for StackFrame[src]
impl<'s> PartialEq<Data> for StackTrace[src]
impl<'s> PartialEq<Data> for Template[src]
impl<'s> PartialEq<Data> for FunctionTemplate[src]
impl<'s> PartialEq<Data> for ObjectTemplate[src]
impl<'s> PartialEq<Data> for UnboundModuleScript[src]
impl<'s> PartialEq<Data> for UnboundScript[src]
impl<'s> PartialEq<Data> for External[src]
impl<'s> PartialEq<Data> for Object[src]
impl<'s> PartialEq<Data> for Message[src]
impl<'s> PartialEq<Data> for Array[src]
impl<'s> PartialEq<Data> for ArrayBuffer[src]
impl<'s> PartialEq<Data> for ArrayBufferView[src]
impl<'s> PartialEq<Data> for DataView[src]
impl<'s> PartialEq<Data> for TypedArray[src]
impl<'s> PartialEq<Data> for BigInt64Array[src]
impl<'s> PartialEq<Data> for BigUint64Array[src]
impl<'s> PartialEq<Data> for Float32Array[src]
impl<'s> PartialEq<Data> for Float64Array[src]
impl<'s> PartialEq<Data> for Int16Array[src]
impl<'s> PartialEq<Data> for Module[src]
impl<'s> PartialEq<Data> for Int32Array[src]
impl<'s> PartialEq<Data> for Int8Array[src]
impl<'s> PartialEq<Data> for Uint16Array[src]
impl<'s> PartialEq<Data> for Uint32Array[src]
impl<'s> PartialEq<Data> for Uint8Array[src]
impl<'s> PartialEq<Data> for Uint8ClampedArray[src]
impl<'s> PartialEq<Data> for BigIntObject[src]
impl<'s> PartialEq<Data> for BooleanObject[src]
impl<'s> PartialEq<Data> for Date[src]
impl<'s> PartialEq<Data> for Function[src]
impl<'s> PartialEq<Data> for FixedArray[src]
impl<'s> PartialEq<Data> for Map[src]
impl<'s> PartialEq<Data> for NumberObject[src]
impl<'s> PartialEq<Data> for Promise[src]
impl<'s> PartialEq<Data> for PromiseResolver[src]
impl<'s> PartialEq<Data> for Proxy[src]
impl<'s> PartialEq<Data> for RegExp[src]
impl<'s> PartialEq<Data> for Set[src]
impl<'s> PartialEq<Data> for SharedArrayBuffer[src]
impl<'s> PartialEq<Data> for StringObject[src]
impl<'s> PartialEq<Data> for SymbolObject[src]
impl<'s> PartialEq<Data> for ModuleRequest[src]
impl<'s> PartialEq<Data> for WasmModuleObject[src]
impl<'s> PartialEq<Data> for Boolean[src]
impl<'s> PartialEq<Data> for Symbol[src]
impl<'s> PartialEq<Data> for PrimitiveArray[src]
impl<'s> PartialEq<Data> for Private[src]
impl<'s> PartialEq<Data> for Script[src]
impl<'s> PartialEq<Data> for ScriptOrModule[src]
impl<'s> PartialEq<DataView> for Data[src]
fn eq(&self, other: &DataView) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Date> for Data[src]
impl<'s> PartialEq<External> for Data[src]
fn eq(&self, other: &External) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Float32Array> for Data[src]
fn eq(&self, other: &Float32Array) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Float64Array> for Data[src]
fn eq(&self, other: &Float64Array) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Function> for Data[src]
fn eq(&self, other: &Function) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<FunctionTemplate> for Data[src]
fn eq(&self, other: &FunctionTemplate) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Int16Array> for Data[src]
fn eq(&self, other: &Int16Array) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Int32Array> for Data[src]
fn eq(&self, other: &Int32Array) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Int8Array> for Data[src]
fn eq(&self, other: &Int8Array) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Map> for Data[src]
impl<'s> PartialEq<Message> for Data[src]
fn eq(&self, other: &Message) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Module> for Data[src]
impl<'s> PartialEq<NumberObject> for Data[src]
fn eq(&self, other: &NumberObject) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Object> for Data[src]
impl<'s> PartialEq<ObjectTemplate> for Data[src]
fn eq(&self, other: &ObjectTemplate) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<PrimitiveArray> for Data[src]
fn eq(&self, other: &PrimitiveArray) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Private> for Data[src]
fn eq(&self, other: &Private) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Promise> for Data[src]
fn eq(&self, other: &Promise) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<PromiseResolver> for Data[src]
fn eq(&self, other: &PromiseResolver) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Proxy> for Data[src]
impl<'s> PartialEq<RegExp> for Data[src]
impl<'s> PartialEq<Script> for Data[src]
impl<'s> PartialEq<ScriptOrModule> for Data[src]
fn eq(&self, other: &ScriptOrModule) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Set> for Data[src]
impl<'s> PartialEq<SharedArrayBuffer> for Data[src]
fn eq(&self, other: &SharedArrayBuffer) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Signature> for Data[src]
fn eq(&self, other: &Signature) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<StackFrame> for Data[src]
fn eq(&self, other: &StackFrame) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<StackTrace> for Data[src]
fn eq(&self, other: &StackTrace) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<StringObject> for Data[src]
fn eq(&self, other: &StringObject) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Symbol> for Data[src]
impl<'s> PartialEq<SymbolObject> for Data[src]
fn eq(&self, other: &SymbolObject) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Template> for Data[src]
fn eq(&self, other: &Template) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<TypedArray> for Data[src]
fn eq(&self, other: &TypedArray) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Uint16Array> for Data[src]
fn eq(&self, other: &Uint16Array) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Uint32Array> for Data[src]
fn eq(&self, other: &Uint32Array) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Uint8Array> for Data[src]
fn eq(&self, other: &Uint8Array) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<Uint8ClampedArray> for Data[src]
fn eq(&self, other: &Uint8ClampedArray) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<UnboundModuleScript> for Data[src]
fn eq(&self, other: &UnboundModuleScript) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<UnboundScript> for Data[src]
fn eq(&self, other: &UnboundScript) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'s> PartialEq<WasmModuleObject> for Data[src]
Auto Trait Implementations
impl RefUnwindSafe for Data
impl Send for Data
impl Sync for Data
impl Unpin for Data
impl UnwindSafe for Data
Blanket Implementations
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,