[][src]Struct rusty_v8::Signature

#[repr(C)]pub struct Signature(_);

A Signature specifies which receiver is valid for a function.

A receiver matches a given signature if the receiver (or any of its hidden prototypes) was created from the signature's FunctionTemplate, or from a FunctionTemplate that inherits directly or indirectly from the signature's FunctionTemplate.

Methods from Deref<Target = Data>

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.

Trait Implementations

impl Deref for Signature[src]

type Target = Data

The resulting type after dereferencing.

impl Eq for Signature[src]

impl Hash for Signature[src]

impl<'s> PartialEq<Data> for Signature[src]

impl<'s> PartialEq<Signature> for Data[src]

impl<'s> PartialEq<Signature> for Signature[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.