Struct gecko_atom::Atom
[−]
[src]
pub struct Atom(_);
Methods
impl Atom
[src]
fn get_hash(&self) -> u32
fn as_slice(&self) -> &[u16]
fn chars(&self) -> DecodeUtf16<Cloned<Iter<u16>>>
fn to_string(&self) -> String
fn as_ptr(&self) -> *mut nsIAtom
Trait Implementations
impl PartialEq for Atom
[src]
fn eq(&self, __arg_0: &Atom) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Atom) -> bool
This method tests for !=
.
impl Eq for Atom
[src]
impl Send for Atom
[src]
impl Sync for Atom
[src]
impl Hash for Atom
[src]
fn hash<H>(&self, state: &mut H) where
H: Hasher,
H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Clone for Atom
[src]
fn clone(&self) -> Atom
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
impl Drop for Atom
[src]
impl HeapSizeOf for Atom
[src]
fn heap_size_of_children(&self) -> usize
Measure the size of any heap-allocated structures that hang off this value, but not the space taken up by the value itself (i.e. what size_of:: measures, more or less); that space is handled by the implementation of HeapSizeOf for Box below. Read more
impl Debug for Atom
[src]
impl PartialEq<str> for Atom
[src]
fn eq(&self, other: &str) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.