Struct v8::value::Name
[−]
[src]
pub struct Name(_, _);
A superclass for symbols and strings.
Methods
impl Name
[src]
fn get_identity_hash(&self) -> u32
Returns the identity hash for this object.
The current implementation uses an inline property on the object to store the identity hash.
The return value will never be 0. Also, it is not guaranteed to be unique.
unsafe fn from_raw(isolate: &Isolate, raw: NameRef) -> Name
Creates a name from a set of raw pointers.
fn as_raw(&self) -> NameRef
Returns the underlying raw pointer behind this primitive.
Methods from Deref<Target=Primitive>
fn as_raw(&self) -> PrimitiveRef
Returns the underlying raw pointer behind this primitive.
Trait Implementations
impl Debug for Name
[src]
impl Deref for Name
[src]
type Target = Primitive
The resulting type after dereferencing
fn deref(&self) -> &Self::Target
The method called to dereference a value
impl From<String> for Name
[src]
impl From<Symbol> for Name
[src]
impl From<Private> for Name
[src]
impl Clone for Name
[src]
fn clone(&self) -> Name
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more