Struct stdweb::Symbol [−][src]
pub struct Symbol(_);
A type representing a JavaScript Symbol
.
Trait Implementations
impl TryFrom<Symbol> for Value
[src]
impl TryFrom<Symbol> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: Symbol) -> Result<Self, Self::Error>
[src]
fn try_from(source: Symbol) -> Result<Self, Self::Error>
Performs the conversion.
impl PartialEq<Symbol> for Value
[src]
impl PartialEq<Symbol> for Value
fn eq(&self, right: &Symbol) -> bool
[src]
fn eq(&self, right: &Symbol) -> 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[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl<'a> PartialEq<&'a Symbol> for Value
[src]
impl<'a> PartialEq<&'a Symbol> for Value
fn eq(&self, right: &&'a Symbol) -> bool
[src]
fn eq(&self, right: &&'a Symbol) -> 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[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl<'a> PartialEq<Symbol> for &'a Value
[src]
impl<'a> PartialEq<Symbol> for &'a Value
fn eq(&self, right: &Symbol) -> bool
[src]
fn eq(&self, right: &Symbol) -> 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[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl PartialEq<Value> for Symbol
[src]
impl PartialEq<Value> for Symbol
fn eq(&self, right: &Value) -> bool
[src]
fn eq(&self, right: &Value) -> 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[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl<'a> PartialEq<&'a Value> for Symbol
[src]
impl<'a> PartialEq<&'a Value> for Symbol
fn eq(&self, right: &&'a Value) -> bool
[src]
fn eq(&self, right: &&'a Value) -> 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[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl<'a> PartialEq<Value> for &'a Symbol
[src]
impl<'a> PartialEq<Value> for &'a Symbol
fn eq(&self, right: &Value) -> bool
[src]
fn eq(&self, right: &Value) -> 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[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl TryFrom<Value> for Symbol
[src]
impl TryFrom<Value> for Symbol
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>
[src]
fn try_from(value: Value) -> Result<Self, Self::Error>
Performs the conversion.
impl<'a> TryFrom<&'a Value> for &'a Symbol
[src]
impl<'a> TryFrom<&'a Value> for &'a Symbol
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &'a Value) -> Result<Self, Self::Error>
[src]
fn try_from(value: &'a Value) -> Result<Self, Self::Error>
Performs the conversion.
impl JsSerialize for Symbol
[src]
impl JsSerialize for Symbol
impl Debug for Symbol
[src]
impl Debug for Symbol
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Symbol
[src]
impl Clone for Symbol
fn clone(&self) -> Self
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for Symbol
[src]
impl PartialEq for Symbol
fn eq(&self, rhs: &Symbol) -> bool
[src]
fn eq(&self, rhs: &Symbol) -> 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[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Drop for Symbol
[src]
impl Drop for Symbol
impl From<Symbol> for Value
[src]
impl From<Symbol> for Value