Enum stdweb::Value [−][src]
pub enum Value { Undefined, Null, Bool(bool), Number(Number), Symbol(Symbol), String(String), Reference(Reference), }
A type representing a JavaScript value.
This type implements a rich set of conversions from and into standard Rust types, for example:
let v1: Value = "Hello world!".into(); let v2: Value = true.into(); let v3: Value = vec![ 1, 2, 3 ].into(); let v4: Value = Null.into(); let v5: Value = 123_u64.try_into().unwrap(); let v1_r: String = v1.try_into().unwrap(); let v2_r: bool = v2.try_into().unwrap(); let v3_r: Vec< i32 > = v3.try_into().unwrap(); let v4_r: Option< String > = v4.try_into().unwrap(); // Will be `None`. let v5_r: u64 = v5.try_into().unwrap();
Variants
Undefined
Null
Bool(bool)
Number(Number)
Symbol(Symbol)
String(String)
Reference(Reference)
Methods
impl Value
[src]
impl Value
pub fn is_null(&self) -> bool
[src]
pub fn is_null(&self) -> bool
Checks whenever the Value is of the Null variant.
pub fn is_symbol(&self) -> bool
[src]
pub fn is_symbol(&self) -> bool
Checks whenever the Value is of the Symbol variant.
pub fn is_reference(&self) -> bool
[src]
pub fn is_reference(&self) -> bool
Checks whenever the Value is of the Reference variant.
pub fn is_object(&self) -> bool
[src]
pub fn is_object(&self) -> bool
Checks whenever the Value is a reference to an Object
.
pub fn is_array(&self) -> bool
[src]
pub fn is_array(&self) -> bool
Checks whenever the Value is a reference to an Array
.
pub fn as_reference(&self) -> Option<&Reference>
[src]
pub fn as_reference(&self) -> Option<&Reference>
Gets a reference to the Reference inside this Value
.
pub fn as_object(&self) -> Option<&Object>
[src]
pub fn as_object(&self) -> Option<&Object>
Gets a reference to the Object inside this Value
.
pub fn as_array(&self) -> Option<&Array>
[src]
pub fn as_array(&self) -> Option<&Array>
Gets a reference to the Array inside this Value
.
pub fn into_reference(self) -> Option<Reference>
[src]
pub fn into_reference(self) -> Option<Reference>
Returns the Reference inside this Value
.
pub fn into_object(self) -> Option<Object>
[src]
pub fn into_object(self) -> Option<Object>
Returns the Object inside this Value
.
pub fn into_array(self) -> Option<Array>
[src]
pub fn into_array(self) -> Option<Array>
Returns the Array inside this Value
.
pub unsafe fn into_reference_unchecked<T: ReferenceType>(self) -> Option<T>
[src]
pub unsafe fn into_reference_unchecked<T: ReferenceType>(self) -> Option<T>
Converts a Reference inside this Value
into
the given type T
; doesn't check whenever the reference is really of type T
.
In cases where the value is not a Reference
a None
is returned.
pub fn into_string(self) -> Option<String>
[src]
pub fn into_string(self) -> Option<String>
Returns the String
inside this Value
.
pub fn as_str(&self) -> Option<&str>
[src]
pub fn as_str(&self) -> Option<&str>
Returns a borrow of the string inside this Value
.
Trait Implementations
impl Clone for Value
[src]
impl Clone for Value
fn clone(&self) -> Value
[src]
fn clone(&self) -> Value
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 Value
[src]
impl PartialEq for Value
fn eq(&self, other: &Value) -> bool
[src]
fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Value) -> bool
[src]
fn ne(&self, other: &Value) -> bool
This method tests for !=
.
impl Debug for Value
[src]
impl Debug for Value
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 AsRef<Value> for Value
[src]
impl AsRef<Value> for Value
impl From<Undefined> for Value
[src]
impl From<Undefined> for Value
impl<'a> From<&'a Undefined> for Value
[src]
impl<'a> From<&'a Undefined> for Value
impl<'a> From<&'a mut Undefined> for Value
[src]
impl<'a> From<&'a mut Undefined> for Value
impl From<Null> for Value
[src]
impl From<Null> for Value
impl<'a> From<&'a Null> for Value
[src]
impl<'a> From<&'a Null> for Value
impl<'a> From<&'a mut Null> for Value
[src]
impl<'a> From<&'a mut Null> for Value
impl From<bool> for Value
[src]
impl From<bool> for Value
impl<'a> From<&'a bool> for Value
[src]
impl<'a> From<&'a bool> for Value
impl<'a> From<&'a mut bool> for Value
[src]
impl<'a> From<&'a mut bool> for Value
impl<'a> From<&'a str> for Value
[src]
impl<'a> From<&'a str> for Value
impl<'a> From<&'a mut str> for Value
[src]
impl<'a> From<&'a mut str> for Value
impl From<String> for Value
[src]
impl From<String> for Value
impl<'a> From<&'a String> for Value
[src]
impl<'a> From<&'a String> for Value
impl<'a> From<&'a mut String> for Value
[src]
impl<'a> From<&'a mut String> for Value
impl From<char> for Value
[src]
impl From<char> for Value
impl<'a> From<&'a char> for Value
[src]
impl<'a> From<&'a char> for Value
impl<'a> From<&'a mut char> for Value
[src]
impl<'a> From<&'a mut char> for Value
impl<T> From<Vec<T>> for Value where
T: JsSerialize,
[src]
impl<T> From<Vec<T>> for Value where
T: JsSerialize,
impl<'a, T> From<&'a Vec<T>> for Value where
T: JsSerialize,
[src]
impl<'a, T> From<&'a Vec<T>> for Value where
T: JsSerialize,
impl<'a, T> From<&'a mut Vec<T>> for Value where
T: JsSerialize,
[src]
impl<'a, T> From<&'a mut Vec<T>> for Value where
T: JsSerialize,
impl<'a, T> From<&'a [T]> for Value where
T: JsSerialize,
[src]
impl<'a, T> From<&'a [T]> for Value where
T: JsSerialize,
impl<'a, T> From<&'a mut [T]> for Value where
T: JsSerialize,
[src]
impl<'a, T> From<&'a mut [T]> for Value where
T: JsSerialize,
fn from(value: &'a mut [T]) -> Self
[src]
fn from(value: &'a mut [T]) -> Self
Performs the conversion.
impl<K, V> From<BTreeMap<K, V>> for Value where
K: AsRef<str>,
V: JsSerialize,
[src]
impl<K, V> From<BTreeMap<K, V>> for Value where
K: AsRef<str>,
V: JsSerialize,
impl<'a, K, V> From<&'a BTreeMap<K, V>> for Value where
K: AsRef<str>,
V: JsSerialize,
[src]
impl<'a, K, V> From<&'a BTreeMap<K, V>> for Value where
K: AsRef<str>,
V: JsSerialize,
impl<'a, K, V> From<&'a mut BTreeMap<K, V>> for Value where
K: AsRef<str>,
V: JsSerialize,
[src]
impl<'a, K, V> From<&'a mut BTreeMap<K, V>> for Value where
K: AsRef<str>,
V: JsSerialize,
impl<K, V> From<HashMap<K, V>> for Value where
K: AsRef<str> + Eq + Hash,
V: JsSerialize,
[src]
impl<K, V> From<HashMap<K, V>> for Value where
K: AsRef<str> + Eq + Hash,
V: JsSerialize,
impl<'a, K, V> From<&'a HashMap<K, V>> for Value where
K: AsRef<str> + Eq + Hash,
V: JsSerialize,
[src]
impl<'a, K, V> From<&'a HashMap<K, V>> for Value where
K: AsRef<str> + Eq + Hash,
V: JsSerialize,
impl<'a, K, V> From<&'a mut HashMap<K, V>> for Value where
K: AsRef<str> + Eq + Hash,
V: JsSerialize,
[src]
impl<'a, K, V> From<&'a mut HashMap<K, V>> for Value where
K: AsRef<str> + Eq + Hash,
V: JsSerialize,
impl From<Reference> for Value
[src]
impl From<Reference> for Value
impl<'a> From<&'a Reference> for Value
[src]
impl<'a> From<&'a Reference> for Value
impl<'a> From<&'a mut Reference> for Value
[src]
impl<'a> From<&'a mut Reference> for Value
impl From<i8> for Value
[src]
impl From<i8> for Value
impl<'a> From<&'a i8> for Value
[src]
impl<'a> From<&'a i8> for Value
impl<'a> From<&'a mut i8> for Value
[src]
impl<'a> From<&'a mut i8> for Value
impl TryFrom<i8> for Value
[src]
impl TryFrom<i8> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: i8) -> Result<Self, Self::Error>
[src]
fn try_from(source: i8) -> Result<Self, Self::Error>
Performs the conversion.
impl From<i16> for Value
[src]
impl From<i16> for Value
impl<'a> From<&'a i16> for Value
[src]
impl<'a> From<&'a i16> for Value
impl<'a> From<&'a mut i16> for Value
[src]
impl<'a> From<&'a mut i16> for Value
impl TryFrom<i16> for Value
[src]
impl TryFrom<i16> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: i16) -> Result<Self, Self::Error>
[src]
fn try_from(source: i16) -> Result<Self, Self::Error>
Performs the conversion.
impl From<i32> for Value
[src]
impl From<i32> for Value
impl<'a> From<&'a i32> for Value
[src]
impl<'a> From<&'a i32> for Value
impl<'a> From<&'a mut i32> for Value
[src]
impl<'a> From<&'a mut i32> for Value
impl TryFrom<i32> for Value
[src]
impl TryFrom<i32> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: i32) -> Result<Self, Self::Error>
[src]
fn try_from(source: i32) -> Result<Self, Self::Error>
Performs the conversion.
impl From<u8> for Value
[src]
impl From<u8> for Value
impl<'a> From<&'a u8> for Value
[src]
impl<'a> From<&'a u8> for Value
impl<'a> From<&'a mut u8> for Value
[src]
impl<'a> From<&'a mut u8> for Value
impl TryFrom<u8> for Value
[src]
impl TryFrom<u8> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: u8) -> Result<Self, Self::Error>
[src]
fn try_from(source: u8) -> Result<Self, Self::Error>
Performs the conversion.
impl From<u16> for Value
[src]
impl From<u16> for Value
impl<'a> From<&'a u16> for Value
[src]
impl<'a> From<&'a u16> for Value
impl<'a> From<&'a mut u16> for Value
[src]
impl<'a> From<&'a mut u16> for Value
impl TryFrom<u16> for Value
[src]
impl TryFrom<u16> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: u16) -> Result<Self, Self::Error>
[src]
fn try_from(source: u16) -> Result<Self, Self::Error>
Performs the conversion.
impl From<u32> for Value
[src]
impl From<u32> for Value
impl<'a> From<&'a u32> for Value
[src]
impl<'a> From<&'a u32> for Value
impl<'a> From<&'a mut u32> for Value
[src]
impl<'a> From<&'a mut u32> for Value
impl TryFrom<u32> for Value
[src]
impl TryFrom<u32> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: u32) -> Result<Self, Self::Error>
[src]
fn try_from(source: u32) -> Result<Self, Self::Error>
Performs the conversion.
impl From<f32> for Value
[src]
impl From<f32> for Value
impl<'a> From<&'a f32> for Value
[src]
impl<'a> From<&'a f32> for Value
impl<'a> From<&'a mut f32> for Value
[src]
impl<'a> From<&'a mut f32> for Value
impl TryFrom<f32> for Value
[src]
impl TryFrom<f32> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: f32) -> Result<Self, Self::Error>
[src]
fn try_from(source: f32) -> Result<Self, Self::Error>
Performs the conversion.
impl From<f64> for Value
[src]
impl From<f64> for Value
impl<'a> From<&'a f64> for Value
[src]
impl<'a> From<&'a f64> for Value
impl<'a> From<&'a mut f64> for Value
[src]
impl<'a> From<&'a mut f64> for Value
impl TryFrom<f64> for Value
[src]
impl TryFrom<f64> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: f64) -> Result<Self, Self::Error>
[src]
fn try_from(source: f64) -> Result<Self, Self::Error>
Performs the conversion.
impl TryFrom<Value> for Value
[src]
impl TryFrom<Value> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: Value) -> Result<Self, Self::Error>
[src]
fn try_from(source: Value) -> Result<Self, Self::Error>
Performs the conversion.
impl TryFrom<Undefined> for Value
[src]
impl TryFrom<Undefined> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: Undefined) -> Result<Self, Self::Error>
[src]
fn try_from(source: Undefined) -> Result<Self, Self::Error>
Performs the conversion.
impl<'a> TryFrom<&'a Undefined> for Value
[src]
impl<'a> TryFrom<&'a Undefined> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a Undefined) -> Result<Self, Self::Error>
[src]
fn try_from(source: &'a Undefined) -> Result<Self, Self::Error>
Performs the conversion.
impl<'a> TryFrom<&'a mut Undefined> for Value
[src]
impl<'a> TryFrom<&'a mut Undefined> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a mut Undefined) -> Result<Self, Self::Error>
[src]
fn try_from(source: &'a mut Undefined) -> Result<Self, Self::Error>
Performs the conversion.
impl TryFrom<Null> for Value
[src]
impl TryFrom<Null> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: Null) -> Result<Self, Self::Error>
[src]
fn try_from(source: Null) -> Result<Self, Self::Error>
Performs the conversion.
impl<'a> TryFrom<&'a Null> for Value
[src]
impl<'a> TryFrom<&'a Null> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a Null) -> Result<Self, Self::Error>
[src]
fn try_from(source: &'a Null) -> Result<Self, Self::Error>
Performs the conversion.
impl<'a> TryFrom<&'a mut Null> for Value
[src]
impl<'a> TryFrom<&'a mut Null> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a mut Null) -> Result<Self, Self::Error>
[src]
fn try_from(source: &'a mut Null) -> Result<Self, Self::Error>
Performs the conversion.
impl TryFrom<bool> for Value
[src]
impl TryFrom<bool> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: bool) -> Result<Self, Self::Error>
[src]
fn try_from(source: bool) -> Result<Self, Self::Error>
Performs the conversion.
impl<'a> TryFrom<&'a bool> for Value
[src]
impl<'a> TryFrom<&'a bool> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a bool) -> Result<Self, Self::Error>
[src]
fn try_from(source: &'a bool) -> Result<Self, Self::Error>
Performs the conversion.
impl<'a> TryFrom<&'a mut bool> for Value
[src]
impl<'a> TryFrom<&'a mut bool> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a mut bool) -> Result<Self, Self::Error>
[src]
fn try_from(source: &'a mut bool) -> Result<Self, Self::Error>
Performs the conversion.
impl<'a> TryFrom<&'a str> for Value
[src]
impl<'a> TryFrom<&'a str> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a str) -> Result<Self, Self::Error>
[src]
fn try_from(source: &'a str) -> Result<Self, Self::Error>
Performs the conversion.
impl<'a> TryFrom<&'a mut str> for Value
[src]
impl<'a> TryFrom<&'a mut str> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a mut str) -> Result<Self, Self::Error>
[src]
fn try_from(source: &'a mut str) -> Result<Self, Self::Error>
Performs the conversion.
impl TryFrom<String> for Value
[src]
impl TryFrom<String> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: String) -> Result<Self, Self::Error>
[src]
fn try_from(source: String) -> Result<Self, Self::Error>
Performs the conversion.
impl<'a> TryFrom<&'a String> for Value
[src]
impl<'a> TryFrom<&'a String> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a String) -> Result<Self, Self::Error>
[src]
fn try_from(source: &'a String) -> Result<Self, Self::Error>
Performs the conversion.
impl<'a> TryFrom<&'a mut String> for Value
[src]
impl<'a> TryFrom<&'a mut String> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a mut String) -> Result<Self, Self::Error>
[src]
fn try_from(source: &'a mut String) -> Result<Self, Self::Error>
Performs the conversion.
impl TryFrom<char> for Value
[src]
impl TryFrom<char> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: char) -> Result<Self, Self::Error>
[src]
fn try_from(source: char) -> Result<Self, Self::Error>
Performs the conversion.
impl<'a> TryFrom<&'a char> for Value
[src]
impl<'a> TryFrom<&'a char> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a char) -> Result<Self, Self::Error>
[src]
fn try_from(source: &'a char) -> Result<Self, Self::Error>
Performs the conversion.
impl<'a> TryFrom<&'a mut char> for Value
[src]
impl<'a> TryFrom<&'a mut char> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a mut char) -> Result<Self, Self::Error>
[src]
fn try_from(source: &'a mut char) -> Result<Self, Self::Error>
Performs the conversion.
impl<T> TryFrom<Vec<T>> for Value where
T: JsSerialize,
[src]
impl<T> TryFrom<Vec<T>> for Value where
T: JsSerialize,
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: Vec<T>) -> Result<Self, Self::Error>
[src]
fn try_from(source: Vec<T>) -> Result<Self, Self::Error>
Performs the conversion.
impl<'a, T> TryFrom<&'a Vec<T>> for Value where
T: JsSerialize,
[src]
impl<'a, T> TryFrom<&'a Vec<T>> for Value where
T: JsSerialize,
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a Vec<T>) -> Result<Self, Self::Error>
[src]
fn try_from(source: &'a Vec<T>) -> Result<Self, Self::Error>
Performs the conversion.
impl<'a, T> TryFrom<&'a mut Vec<T>> for Value where
T: JsSerialize,
[src]
impl<'a, T> TryFrom<&'a mut Vec<T>> for Value where
T: JsSerialize,
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a mut Vec<T>) -> Result<Self, Self::Error>
[src]
fn try_from(source: &'a mut Vec<T>) -> Result<Self, Self::Error>
Performs the conversion.
impl<'a, T> TryFrom<&'a [T]> for Value where
T: JsSerialize,
[src]
impl<'a, T> TryFrom<&'a [T]> for Value where
T: JsSerialize,
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a [T]) -> Result<Self, Self::Error>
[src]
fn try_from(source: &'a [T]) -> Result<Self, Self::Error>
Performs the conversion.
impl<'a, T> TryFrom<&'a mut [T]> for Value where
T: JsSerialize,
[src]
impl<'a, T> TryFrom<&'a mut [T]> for Value where
T: JsSerialize,
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a mut [T]) -> Result<Self, Self::Error>
[src]
fn try_from(source: &'a mut [T]) -> Result<Self, Self::Error>
Performs the conversion.
impl<K, V> TryFrom<BTreeMap<K, V>> for Value where
K: AsRef<str>,
V: JsSerialize,
[src]
impl<K, V> TryFrom<BTreeMap<K, V>> for Value where
K: AsRef<str>,
V: JsSerialize,
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: BTreeMap<K, V>) -> Result<Self, Self::Error>
[src]
fn try_from(source: BTreeMap<K, V>) -> Result<Self, Self::Error>
Performs the conversion.
impl<'a, K, V> TryFrom<&'a BTreeMap<K, V>> for Value where
K: AsRef<str>,
V: JsSerialize,
[src]
impl<'a, K, V> TryFrom<&'a BTreeMap<K, V>> for Value where
K: AsRef<str>,
V: JsSerialize,
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a BTreeMap<K, V>) -> Result<Self, Self::Error>
[src]
fn try_from(source: &'a BTreeMap<K, V>) -> Result<Self, Self::Error>
Performs the conversion.
impl<'a, K, V> TryFrom<&'a mut BTreeMap<K, V>> for Value where
K: AsRef<str>,
V: JsSerialize,
[src]
impl<'a, K, V> TryFrom<&'a mut BTreeMap<K, V>> for Value where
K: AsRef<str>,
V: JsSerialize,
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a mut BTreeMap<K, V>) -> Result<Self, Self::Error>
[src]
fn try_from(source: &'a mut BTreeMap<K, V>) -> Result<Self, Self::Error>
Performs the conversion.
impl<K, V> TryFrom<HashMap<K, V>> for Value where
K: AsRef<str> + Eq + Hash,
V: JsSerialize,
[src]
impl<K, V> TryFrom<HashMap<K, V>> for Value where
K: AsRef<str> + Eq + Hash,
V: JsSerialize,
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: HashMap<K, V>) -> Result<Self, Self::Error>
[src]
fn try_from(source: HashMap<K, V>) -> Result<Self, Self::Error>
Performs the conversion.
impl<'a, K, V> TryFrom<&'a HashMap<K, V>> for Value where
K: AsRef<str> + Eq + Hash,
V: JsSerialize,
[src]
impl<'a, K, V> TryFrom<&'a HashMap<K, V>> for Value where
K: AsRef<str> + Eq + Hash,
V: JsSerialize,
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a HashMap<K, V>) -> Result<Self, Self::Error>
[src]
fn try_from(source: &'a HashMap<K, V>) -> Result<Self, Self::Error>
Performs the conversion.
impl<'a, K, V> TryFrom<&'a mut HashMap<K, V>> for Value where
K: AsRef<str> + Eq + Hash,
V: JsSerialize,
[src]
impl<'a, K, V> TryFrom<&'a mut HashMap<K, V>> for Value where
K: AsRef<str> + Eq + Hash,
V: JsSerialize,
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a mut HashMap<K, V>) -> Result<Self, Self::Error>
[src]
fn try_from(source: &'a mut HashMap<K, V>) -> Result<Self, Self::Error>
Performs the conversion.
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 TryFrom<Reference> for Value
[src]
impl TryFrom<Reference> for Value
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: Reference) -> Result<Self, Self::Error>
[src]
fn try_from(source: Reference) -> Result<Self, Self::Error>
Performs the conversion.
impl TryFrom<i64> for Value
[src]
impl TryFrom<i64> for Value
type Error = <Number as TryFrom<i64>>::Error
The type returned in the event of a conversion error.
fn try_from(value: i64) -> Result<Self, Self::Error>
[src]
fn try_from(value: i64) -> Result<Self, Self::Error>
Performs the conversion.
impl TryFrom<u64> for Value
[src]
impl TryFrom<u64> for Value
type Error = <Number as TryFrom<u64>>::Error
The type returned in the event of a conversion error.
fn try_from(value: u64) -> Result<Self, Self::Error>
[src]
fn try_from(value: u64) -> Result<Self, Self::Error>
Performs the conversion.
impl TryFrom<usize> for Value
[src]
impl TryFrom<usize> for Value
type Error = <Number as TryFrom<usize>>::Error
The type returned in the event of a conversion error.
fn try_from(value: usize) -> Result<Self, Self::Error>
[src]
fn try_from(value: usize) -> Result<Self, Self::Error>
Performs the conversion.
impl PartialEq<Undefined> for Value
[src]
impl PartialEq<Undefined> for Value
fn eq(&self, _: &Undefined) -> bool
[src]
fn eq(&self, _: &Undefined) -> 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<Null> for Value
[src]
impl PartialEq<Null> for Value
fn eq(&self, _: &Null) -> bool
[src]
fn eq(&self, _: &Null) -> 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<bool> for Value
[src]
impl PartialEq<bool> for Value
fn eq(&self, right: &bool) -> bool
[src]
fn eq(&self, right: &bool) -> 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<str> for Value
[src]
impl PartialEq<str> for Value
fn eq(&self, right: &str) -> bool
[src]
fn eq(&self, right: &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[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl PartialEq<String> for Value
[src]
impl PartialEq<String> for Value
fn eq(&self, right: &String) -> bool
[src]
fn eq(&self, right: &String) -> 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<Number> for Value
[src]
impl PartialEq<Number> for Value
fn eq(&self, right: &Number) -> bool
[src]
fn eq(&self, right: &Number) -> 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<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<T: AsRef<Reference>> PartialEq<T> for Value
[src]
impl<T: AsRef<Reference>> PartialEq<T> for Value
fn eq(&self, right: &T) -> bool
[src]
fn eq(&self, right: &T) -> 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<Reference> for &'a Value
[src]
impl<'a> PartialEq<Reference> for &'a Value
fn eq(&self, right: &Reference) -> bool
[src]
fn eq(&self, right: &Reference) -> 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 Reference
[src]
impl PartialEq<Value> for Reference
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 Reference
[src]
impl<'a> PartialEq<&'a Value> for Reference
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 Reference
[src]
impl<'a> PartialEq<Value> for &'a Reference
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 PartialEq<i8> for Value
[src]
impl PartialEq<i8> for Value
fn eq(&self, right: &i8) -> bool
[src]
fn eq(&self, right: &i8) -> 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 i8> for Value
[src]
impl<'a> PartialEq<&'a i8> for Value
fn eq(&self, right: &&'a i8) -> bool
[src]
fn eq(&self, right: &&'a i8) -> 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<i8> for &'a Value
[src]
impl<'a> PartialEq<i8> for &'a Value
fn eq(&self, right: &i8) -> bool
[src]
fn eq(&self, right: &i8) -> 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 i8
[src]
impl PartialEq<Value> for i8
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 i8
[src]
impl<'a> PartialEq<&'a Value> for i8
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 i8
[src]
impl<'a> PartialEq<Value> for &'a i8
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 PartialEq<i16> for Value
[src]
impl PartialEq<i16> for Value
fn eq(&self, right: &i16) -> bool
[src]
fn eq(&self, right: &i16) -> 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 i16> for Value
[src]
impl<'a> PartialEq<&'a i16> for Value
fn eq(&self, right: &&'a i16) -> bool
[src]
fn eq(&self, right: &&'a i16) -> 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<i16> for &'a Value
[src]
impl<'a> PartialEq<i16> for &'a Value
fn eq(&self, right: &i16) -> bool
[src]
fn eq(&self, right: &i16) -> 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 i16
[src]
impl PartialEq<Value> for i16
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 i16
[src]
impl<'a> PartialEq<&'a Value> for i16
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 i16
[src]
impl<'a> PartialEq<Value> for &'a i16
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 PartialEq<i32> for Value
[src]
impl PartialEq<i32> for Value
fn eq(&self, right: &i32) -> bool
[src]
fn eq(&self, right: &i32) -> 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 i32> for Value
[src]
impl<'a> PartialEq<&'a i32> for Value
fn eq(&self, right: &&'a i32) -> bool
[src]
fn eq(&self, right: &&'a i32) -> 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<i32> for &'a Value
[src]
impl<'a> PartialEq<i32> for &'a Value
fn eq(&self, right: &i32) -> bool
[src]
fn eq(&self, right: &i32) -> 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 i32
[src]
impl PartialEq<Value> for i32
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 i32
[src]
impl<'a> PartialEq<&'a Value> for i32
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 i32
[src]
impl<'a> PartialEq<Value> for &'a i32
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 PartialEq<i64> for Value
[src]
impl PartialEq<i64> for Value
fn eq(&self, right: &i64) -> bool
[src]
fn eq(&self, right: &i64) -> 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 i64> for Value
[src]
impl<'a> PartialEq<&'a i64> for Value
fn eq(&self, right: &&'a i64) -> bool
[src]
fn eq(&self, right: &&'a i64) -> 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<i64> for &'a Value
[src]
impl<'a> PartialEq<i64> for &'a Value
fn eq(&self, right: &i64) -> bool
[src]
fn eq(&self, right: &i64) -> 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 i64
[src]
impl PartialEq<Value> for i64
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 i64
[src]
impl<'a> PartialEq<&'a Value> for i64
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 i64
[src]
impl<'a> PartialEq<Value> for &'a i64
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 PartialEq<u8> for Value
[src]
impl PartialEq<u8> for Value
fn eq(&self, right: &u8) -> bool
[src]
fn eq(&self, right: &u8) -> 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 u8> for Value
[src]
impl<'a> PartialEq<&'a u8> for Value
fn eq(&self, right: &&'a u8) -> bool
[src]
fn eq(&self, right: &&'a u8) -> 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<u8> for &'a Value
[src]
impl<'a> PartialEq<u8> for &'a Value
fn eq(&self, right: &u8) -> bool
[src]
fn eq(&self, right: &u8) -> 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 u8
[src]
impl PartialEq<Value> for u8
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 u8
[src]
impl<'a> PartialEq<&'a Value> for u8
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 u8
[src]
impl<'a> PartialEq<Value> for &'a u8
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 PartialEq<u16> for Value
[src]
impl PartialEq<u16> for Value
fn eq(&self, right: &u16) -> bool
[src]
fn eq(&self, right: &u16) -> 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 u16> for Value
[src]
impl<'a> PartialEq<&'a u16> for Value
fn eq(&self, right: &&'a u16) -> bool
[src]
fn eq(&self, right: &&'a u16) -> 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<u16> for &'a Value
[src]
impl<'a> PartialEq<u16> for &'a Value
fn eq(&self, right: &u16) -> bool
[src]
fn eq(&self, right: &u16) -> 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 u16
[src]
impl PartialEq<Value> for u16
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 u16
[src]
impl<'a> PartialEq<&'a Value> for u16
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 u16
[src]
impl<'a> PartialEq<Value> for &'a u16
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 PartialEq<u32> for Value
[src]
impl PartialEq<u32> for Value
fn eq(&self, right: &u32) -> bool
[src]
fn eq(&self, right: &u32) -> 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 u32> for Value
[src]
impl<'a> PartialEq<&'a u32> for Value
fn eq(&self, right: &&'a u32) -> bool
[src]
fn eq(&self, right: &&'a u32) -> 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<u32> for &'a Value
[src]
impl<'a> PartialEq<u32> for &'a Value
fn eq(&self, right: &u32) -> bool
[src]
fn eq(&self, right: &u32) -> 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 u32
[src]
impl PartialEq<Value> for u32
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 u32
[src]
impl<'a> PartialEq<&'a Value> for u32
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 u32
[src]
impl<'a> PartialEq<Value> for &'a u32
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 PartialEq<u64> for Value
[src]
impl PartialEq<u64> for Value
fn eq(&self, right: &u64) -> bool
[src]
fn eq(&self, right: &u64) -> 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 u64> for Value
[src]
impl<'a> PartialEq<&'a u64> for Value
fn eq(&self, right: &&'a u64) -> bool
[src]
fn eq(&self, right: &&'a u64) -> 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<u64> for &'a Value
[src]
impl<'a> PartialEq<u64> for &'a Value
fn eq(&self, right: &u64) -> bool
[src]
fn eq(&self, right: &u64) -> 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 u64
[src]
impl PartialEq<Value> for u64
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 u64
[src]
impl<'a> PartialEq<&'a Value> for u64
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 u64
[src]
impl<'a> PartialEq<Value> for &'a u64
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 PartialEq<usize> for Value
[src]
impl PartialEq<usize> for Value
fn eq(&self, right: &usize) -> bool
[src]
fn eq(&self, right: &usize) -> 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 usize> for Value
[src]
impl<'a> PartialEq<&'a usize> for Value
fn eq(&self, right: &&'a usize) -> bool
[src]
fn eq(&self, right: &&'a usize) -> 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<usize> for &'a Value
[src]
impl<'a> PartialEq<usize> for &'a Value
fn eq(&self, right: &usize) -> bool
[src]
fn eq(&self, right: &usize) -> 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 usize
[src]
impl PartialEq<Value> for usize
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 usize
[src]
impl<'a> PartialEq<&'a Value> for usize
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 usize
[src]
impl<'a> PartialEq<Value> for &'a usize
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 PartialEq<f32> for Value
[src]
impl PartialEq<f32> for Value
fn eq(&self, right: &f32) -> bool
[src]
fn eq(&self, right: &f32) -> 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 f32> for Value
[src]
impl<'a> PartialEq<&'a f32> for Value
fn eq(&self, right: &&'a f32) -> bool
[src]
fn eq(&self, right: &&'a f32) -> 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<f32> for &'a Value
[src]
impl<'a> PartialEq<f32> for &'a Value
fn eq(&self, right: &f32) -> bool
[src]
fn eq(&self, right: &f32) -> 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 f32
[src]
impl PartialEq<Value> for f32
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 f32
[src]
impl<'a> PartialEq<&'a Value> for f32
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 f32
[src]
impl<'a> PartialEq<Value> for &'a f32
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 PartialEq<f64> for Value
[src]
impl PartialEq<f64> for Value
fn eq(&self, right: &f64) -> bool
[src]
fn eq(&self, right: &f64) -> 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 f64> for Value
[src]
impl<'a> PartialEq<&'a f64> for Value
fn eq(&self, right: &&'a f64) -> bool
[src]
fn eq(&self, right: &&'a f64) -> 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<f64> for &'a Value
[src]
impl<'a> PartialEq<f64> for &'a Value
fn eq(&self, right: &f64) -> bool
[src]
fn eq(&self, right: &f64) -> 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 f64
[src]
impl PartialEq<Value> for f64
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 f64
[src]
impl<'a> PartialEq<&'a Value> for f64
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 f64
[src]
impl<'a> PartialEq<Value> for &'a f64
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 Undefined> for Value
[src]
impl<'a> PartialEq<&'a Undefined> for Value
fn eq(&self, right: &&'a Undefined) -> bool
[src]
fn eq(&self, right: &&'a Undefined) -> 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<Undefined> for &'a Value
[src]
impl<'a> PartialEq<Undefined> for &'a Value
fn eq(&self, right: &Undefined) -> bool
[src]
fn eq(&self, right: &Undefined) -> 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 Undefined
[src]
impl PartialEq<Value> for Undefined
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 Undefined
[src]
impl<'a> PartialEq<&'a Value> for Undefined
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 Undefined
[src]
impl<'a> PartialEq<Value> for &'a Undefined
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 Null> for Value
[src]
impl<'a> PartialEq<&'a Null> for Value
fn eq(&self, right: &&'a Null) -> bool
[src]
fn eq(&self, right: &&'a Null) -> 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<Null> for &'a Value
[src]
impl<'a> PartialEq<Null> for &'a Value
fn eq(&self, right: &Null) -> bool
[src]
fn eq(&self, right: &Null) -> 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 Null
[src]
impl PartialEq<Value> for Null
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 Null
[src]
impl<'a> PartialEq<&'a Value> for Null
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 Null
[src]
impl<'a> PartialEq<Value> for &'a Null
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 bool> for Value
[src]
impl<'a> PartialEq<&'a bool> for Value
fn eq(&self, right: &&'a bool) -> bool
[src]
fn eq(&self, right: &&'a bool) -> 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<bool> for &'a Value
[src]
impl<'a> PartialEq<bool> for &'a Value
fn eq(&self, right: &bool) -> bool
[src]
fn eq(&self, right: &bool) -> 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 bool
[src]
impl PartialEq<Value> for bool
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 bool
[src]
impl<'a> PartialEq<&'a Value> for bool
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 bool
[src]
impl<'a> PartialEq<Value> for &'a bool
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 str> for Value
[src]
impl<'a> PartialEq<&'a str> for Value
fn eq(&self, right: &&'a str) -> bool
[src]
fn eq(&self, right: &&'a 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[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl<'a> PartialEq<str> for &'a Value
[src]
impl<'a> PartialEq<str> for &'a Value
fn eq(&self, right: &str) -> bool
[src]
fn eq(&self, right: &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[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl PartialEq<Value> for str
[src]
impl PartialEq<Value> for str
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 str
[src]
impl<'a> PartialEq<&'a Value> for str
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 str
[src]
impl<'a> PartialEq<Value> for &'a str
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 String> for Value
[src]
impl<'a> PartialEq<&'a String> for Value
fn eq(&self, right: &&'a String) -> bool
[src]
fn eq(&self, right: &&'a String) -> 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<String> for &'a Value
[src]
impl<'a> PartialEq<String> for &'a Value
fn eq(&self, right: &String) -> bool
[src]
fn eq(&self, right: &String) -> 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 String
[src]
impl PartialEq<Value> for String
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 String
[src]
impl<'a> PartialEq<&'a Value> for String
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 String
[src]
impl<'a> PartialEq<Value> for &'a String
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 Number> for Value
[src]
impl<'a> PartialEq<&'a Number> for Value
fn eq(&self, right: &&'a Number) -> bool
[src]
fn eq(&self, right: &&'a Number) -> 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<Number> for &'a Value
[src]
impl<'a> PartialEq<Number> for &'a Value
fn eq(&self, right: &Number) -> bool
[src]
fn eq(&self, right: &Number) -> 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 Number
[src]
impl PartialEq<Value> for Number
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 Number
[src]
impl<'a> PartialEq<&'a Value> for Number
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 Number
[src]
impl<'a> PartialEq<Value> for &'a Number
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 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 Undefined
[src]
impl TryFrom<Value> for Undefined
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 TryFrom<Value> for Null
[src]
impl TryFrom<Value> for Null
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 TryFrom<Value> for ()
[src]
impl TryFrom<Value> for ()
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 TryFrom<Value> for bool
[src]
impl TryFrom<Value> for bool
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 TryFrom<Value> for u8
[src]
impl TryFrom<Value> for u8
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 TryFrom<Value> for u16
[src]
impl TryFrom<Value> for u16
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 TryFrom<Value> for u32
[src]
impl TryFrom<Value> for u32
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 TryFrom<Value> for u64
[src]
impl TryFrom<Value> for u64
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 TryFrom<Value> for usize
[src]
impl TryFrom<Value> for usize
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 TryFrom<Value> for i8
[src]
impl TryFrom<Value> for i8
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 TryFrom<Value> for i16
[src]
impl TryFrom<Value> for i16
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 TryFrom<Value> for i32
[src]
impl TryFrom<Value> for i32
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 TryFrom<Value> for i64
[src]
impl TryFrom<Value> for i64
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 TryFrom<Value> for f64
[src]
impl TryFrom<Value> for f64
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<E: Into<ConversionError>, V: TryFrom<Value, Error = E>> TryFrom<Value> for BTreeMap<String, V>
[src]
impl<E: Into<ConversionError>, V: TryFrom<Value, Error = E>> TryFrom<Value> for BTreeMap<String, V>
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<E: Into<ConversionError>, V: TryFrom<Value, Error = E>> TryFrom<Value> for HashMap<String, V>
[src]
impl<E: Into<ConversionError>, V: TryFrom<Value, Error = E>> TryFrom<Value> for HashMap<String, V>
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<E: Into<ConversionError>, T: TryFrom<Value, Error = E>> TryFrom<Value> for Vec<T>
[src]
impl<E: Into<ConversionError>, T: TryFrom<Value, Error = E>> TryFrom<Value> for Vec<T>
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 TryFrom<Value> for String
[src]
impl TryFrom<Value> for String
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 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 TryFrom<Value> for Reference
[src]
impl TryFrom<Value> for Reference
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 str
[src]
impl<'a> TryFrom<&'a Value> for &'a str
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<'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<'a> TryFrom<&'a Value> for &'a Reference
[src]
impl<'a> TryFrom<&'a Value> for &'a Reference
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 TryFrom<Value> for Option<bool>
[src]
impl TryFrom<Value> for Option<bool>
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 TryFrom<Value> for Option<u8>
[src]
impl TryFrom<Value> for Option<u8>
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 TryFrom<Value> for Option<u16>
[src]
impl TryFrom<Value> for Option<u16>
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 TryFrom<Value> for Option<u32>
[src]
impl TryFrom<Value> for Option<u32>
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 TryFrom<Value> for Option<u64>
[src]
impl TryFrom<Value> for Option<u64>
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 TryFrom<Value> for Option<usize>
[src]
impl TryFrom<Value> for Option<usize>
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 TryFrom<Value> for Option<i8>
[src]
impl TryFrom<Value> for Option<i8>
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 TryFrom<Value> for Option<i16>
[src]
impl TryFrom<Value> for Option<i16>
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 TryFrom<Value> for Option<i32>
[src]
impl TryFrom<Value> for Option<i32>
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 TryFrom<Value> for Option<i64>
[src]
impl TryFrom<Value> for Option<i64>
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 TryFrom<Value> for Option<f64>
[src]
impl TryFrom<Value> for Option<f64>
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<V> TryFrom<Value> for Option<BTreeMap<String, V>> where
V: TryFrom<Value, Error = ConversionError>,
[src]
impl<V> TryFrom<Value> for Option<BTreeMap<String, V>> where
V: TryFrom<Value, Error = ConversionError>,
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<V> TryFrom<Value> for Option<HashMap<String, V>> where
V: TryFrom<Value, Error = ConversionError>,
[src]
impl<V> TryFrom<Value> for Option<HashMap<String, V>> where
V: TryFrom<Value, Error = ConversionError>,
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<T> TryFrom<Value> for Option<Vec<T>> where
T: TryFrom<Value, Error = ConversionError>,
[src]
impl<T> TryFrom<Value> for Option<Vec<T>> where
T: TryFrom<Value, Error = ConversionError>,
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 TryFrom<Value> for Option<String>
[src]
impl TryFrom<Value> for Option<String>
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 TryFrom<Value> for Option<Symbol>
[src]
impl TryFrom<Value> for Option<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 Option<&'a str>
[src]
impl<'a> TryFrom<&'a Value> for Option<&'a str>
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<'a> TryFrom<&'a Value> for Option<&'a Reference>
[src]
impl<'a> TryFrom<&'a Value> for Option<&'a Reference>
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<T: TryFrom<Value, Error = ConversionError> + AsRef<Reference>> TryFrom<Value> for Option<T>
[src]
impl<T: TryFrom<Value, Error = ConversionError> + AsRef<Reference>> TryFrom<Value> for Option<T>
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 JsSerialize for Value
[src]
impl JsSerialize for Value
impl TryFrom<Value> for Object
[src]
impl TryFrom<Value> for Object
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<'_r> TryFrom<&'_r Value> for Object
[src]
impl<'_r> TryFrom<&'_r Value> for Object
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 TryFrom<Value> for Array
[src]
impl TryFrom<Value> for Array
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<'_r> TryFrom<&'_r Value> for Array
[src]
impl<'_r> TryFrom<&'_r Value> for Array
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 From<Symbol> for Value
[src]
impl From<Symbol> for Value
impl TryFrom<Value> for Date
[src]
impl TryFrom<Value> for Date
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<'_r> TryFrom<&'_r Value> for Date
[src]
impl<'_r> TryFrom<&'_r Value> for Date
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 TryFrom<Value> for Document
[src]
impl TryFrom<Value> for Document
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<'_r> TryFrom<&'_r Value> for Document
[src]
impl<'_r> TryFrom<&'_r Value> for Document
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 TryFrom<Value> for Window
[src]
impl TryFrom<Value> for Window
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<'_r> TryFrom<&'_r Value> for Window
[src]
impl<'_r> TryFrom<&'_r Value> for Window
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 TryFrom<Value> for EventTarget
[src]
impl TryFrom<Value> for EventTarget
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<'_r> TryFrom<&'_r Value> for EventTarget
[src]
impl<'_r> TryFrom<&'_r Value> for EventTarget
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 TryFrom<Value> for Node
[src]
impl TryFrom<Value> for Node
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<'_r> TryFrom<&'_r Value> for Node
[src]
impl<'_r> TryFrom<&'_r Value> for Node
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 TryFrom<Value> for Element
[src]
impl TryFrom<Value> for Element
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<'_r> TryFrom<&'_r Value> for Element
[src]
impl<'_r> TryFrom<&'_r Value> for Element
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 TryFrom<Value> for Rect
[src]
impl TryFrom<Value> for Rect
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<'_r> TryFrom<&'_r Value> for Rect
[src]
impl<'_r> TryFrom<&'_r Value> for Rect
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 TryFrom<Value> for HtmlElement
[src]
impl TryFrom<Value> for HtmlElement
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<'_r> TryFrom<&'_r Value> for HtmlElement
[src]
impl<'_r> TryFrom<&'_r Value> for HtmlElement
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 TryFrom<Value> for CanvasElement
[src]
impl TryFrom<Value> for CanvasElement
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<'_r> TryFrom<&'_r Value> for CanvasElement
[src]
impl<'_r> TryFrom<&'_r Value> for CanvasElement
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 TryFrom<Value> for ImageElement
[src]
impl TryFrom<Value> for ImageElement
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<'_r> TryFrom<&'_r Value> for ImageElement
[src]
impl<'_r> TryFrom<&'_r Value> for ImageElement
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 TryFrom<Value> for InputElement
[src]
impl TryFrom<Value> for InputElement
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<'_r> TryFrom<&'_r Value> for InputElement
[src]
impl<'_r> TryFrom<&'_r Value> for InputElement
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 TryFrom<Value> for TextAreaElement
[src]
impl TryFrom<Value> for TextAreaElement
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<'_r> TryFrom<&'_r Value> for TextAreaElement
[src]
impl<'_r> TryFrom<&'_r Value> for TextAreaElement
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 TryFrom<Value> for SelectElement
[src]
impl TryFrom<Value> for SelectElement
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<'_r> TryFrom<&'_r Value> for SelectElement
[src]
impl<'_r> TryFrom<&'_r Value> for SelectElement
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 TryFrom<Value> for OptionElement
[src]
impl TryFrom<Value> for OptionElement
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<'_r> TryFrom<&'_r Value> for OptionElement
[src]
impl<'_r> TryFrom<&'_r Value> for OptionElement
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 TryFrom<Value> for TokenList
[src]
impl TryFrom<Value> for TokenList
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<'_r> TryFrom<&'_r Value> for TokenList
[src]
impl<'_r> TryFrom<&'_r Value> for TokenList
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 TryFrom<Value> for DocumentFragment
[src]
impl TryFrom<Value> for DocumentFragment
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<'_r> TryFrom<&'_r Value> for DocumentFragment
[src]
impl<'_r> TryFrom<&'_r Value> for DocumentFragment
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 TryFrom<Value> for TextNode
[src]
impl TryFrom<Value> for TextNode
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<'_r> TryFrom<&'_r Value> for TextNode
[src]
impl<'_r> TryFrom<&'_r Value> for TextNode
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 TryFrom<Value> for NodeList
[src]
impl TryFrom<Value> for NodeList
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<'_r> TryFrom<&'_r Value> for NodeList
[src]
impl<'_r> TryFrom<&'_r Value> for NodeList
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 TryFrom<Value> for StringMap
[src]
impl TryFrom<Value> for StringMap
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<'_r> TryFrom<&'_r Value> for StringMap
[src]
impl<'_r> TryFrom<&'_r Value> for StringMap
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 TryFrom<Value> for Location
[src]
impl TryFrom<Value> for Location
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<'_r> TryFrom<&'_r Value> for Location
[src]
impl<'_r> TryFrom<&'_r Value> for Location
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 TryFrom<Value> for Storage
[src]
impl TryFrom<Value> for Storage
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<'_r> TryFrom<&'_r Value> for Storage
[src]
impl<'_r> TryFrom<&'_r Value> for Storage
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 TryFrom<Value> for Blob
[src]
impl TryFrom<Value> for Blob
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<'_r> TryFrom<&'_r Value> for Blob
[src]
impl<'_r> TryFrom<&'_r Value> for Blob
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 TryFrom<Value> for FileList
[src]
impl TryFrom<Value> for FileList
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<'_r> TryFrom<&'_r Value> for FileList
[src]
impl<'_r> TryFrom<&'_r Value> for FileList
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 TryFrom<Value> for FileReader
[src]
impl TryFrom<Value> for FileReader
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<'_r> TryFrom<&'_r Value> for FileReader
[src]
impl<'_r> TryFrom<&'_r Value> for FileReader
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 TryFrom<Value> for ArrayBuffer
[src]
impl TryFrom<Value> for ArrayBuffer
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<'_r> TryFrom<&'_r Value> for ArrayBuffer
[src]
impl<'_r> TryFrom<&'_r Value> for ArrayBuffer
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<T: ArrayKind> TryFrom<Value> for TypedArray<T>
[src]
impl<T: ArrayKind> TryFrom<Value> for TypedArray<T>
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<'_r, T: ArrayKind> TryFrom<&'_r Value> for TypedArray<T>
[src]
impl<'_r, T: ArrayKind> TryFrom<&'_r Value> for TypedArray<T>
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 TryFrom<Value> for XmlHttpRequest
[src]
impl TryFrom<Value> for XmlHttpRequest
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<'_r> TryFrom<&'_r Value> for XmlHttpRequest
[src]
impl<'_r> TryFrom<&'_r Value> for XmlHttpRequest
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 TryFrom<Value> for History
[src]
impl TryFrom<Value> for History
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<'_r> TryFrom<&'_r Value> for History
[src]
impl<'_r> TryFrom<&'_r Value> for History
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 TryFrom<Value> for WebSocket
[src]
impl TryFrom<Value> for WebSocket
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<'_r> TryFrom<&'_r Value> for WebSocket
[src]
impl<'_r> TryFrom<&'_r Value> for WebSocket
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 TryFrom<Value> for SocketReadyState
[src]
impl TryFrom<Value> for SocketReadyState
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(v: Value) -> Result<SocketReadyState, ConversionError>
[src]
fn try_from(v: Value) -> Result<SocketReadyState, ConversionError>
Performs the conversion.
impl TryFrom<Value> for CanvasRenderingContext2d
[src]
impl TryFrom<Value> for CanvasRenderingContext2d
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<'_r> TryFrom<&'_r Value> for CanvasRenderingContext2d
[src]
impl<'_r> TryFrom<&'_r Value> for CanvasRenderingContext2d
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 TryFrom<Value> for CanvasGradient
[src]
impl TryFrom<Value> for CanvasGradient
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<'_r> TryFrom<&'_r Value> for CanvasGradient
[src]
impl<'_r> TryFrom<&'_r Value> for CanvasGradient
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 TryFrom<Value> for CanvasPattern
[src]
impl TryFrom<Value> for CanvasPattern
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<'_r> TryFrom<&'_r Value> for CanvasPattern
[src]
impl<'_r> TryFrom<&'_r Value> for CanvasPattern
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 TryFrom<Value> for ImageData
[src]
impl TryFrom<Value> for ImageData
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<'_r> TryFrom<&'_r Value> for ImageData
[src]
impl<'_r> TryFrom<&'_r Value> for ImageData
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 TryFrom<Value> for TextMetrics
[src]
impl TryFrom<Value> for TextMetrics
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<'_r> TryFrom<&'_r Value> for TextMetrics
[src]
impl<'_r> TryFrom<&'_r Value> for TextMetrics
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 TryFrom<Value> for AddColorStopError
[src]
impl TryFrom<Value> for AddColorStopError
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 TryFrom<Value> for DrawImageError
[src]
impl TryFrom<Value> for DrawImageError
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 TryFrom<Value> for GetImageDataError
[src]
impl TryFrom<Value> for GetImageDataError
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 TryFrom<Value> for CanvasStyle
[src]
impl TryFrom<Value> for CanvasStyle
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 TryFrom<Value> for MutationObserver
[src]
impl TryFrom<Value> for MutationObserver
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<'_r> TryFrom<&'_r Value> for MutationObserver
[src]
impl<'_r> TryFrom<&'_r Value> for MutationObserver
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 TryFrom<Value> for MutationRecord
[src]
impl TryFrom<Value> for MutationRecord
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(v: Value) -> Result<Self, Self::Error>
[src]
fn try_from(v: Value) -> Result<Self, Self::Error>
Performs the conversion.
impl TryFrom<Value> for Error
[src]
impl TryFrom<Value> for Error
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<'_r> TryFrom<&'_r Value> for Error
[src]
impl<'_r> TryFrom<&'_r Value> for Error
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 TryFrom<Value> for DomException
[src]
impl TryFrom<Value> for DomException
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<'_r> TryFrom<&'_r Value> for DomException
[src]
impl<'_r> TryFrom<&'_r Value> for DomException
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 TryFrom<Value> for HierarchyRequestError
[src]
impl TryFrom<Value> for HierarchyRequestError
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<'_r> TryFrom<&'_r Value> for HierarchyRequestError
[src]
impl<'_r> TryFrom<&'_r Value> for HierarchyRequestError
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 TryFrom<Value> for InvalidAccessError
[src]
impl TryFrom<Value> for InvalidAccessError
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<'_r> TryFrom<&'_r Value> for InvalidAccessError
[src]
impl<'_r> TryFrom<&'_r Value> for InvalidAccessError
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 TryFrom<Value> for NotFoundError
[src]
impl TryFrom<Value> for NotFoundError
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<'_r> TryFrom<&'_r Value> for NotFoundError
[src]
impl<'_r> TryFrom<&'_r Value> for NotFoundError
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 TryFrom<Value> for SecurityError
[src]
impl TryFrom<Value> for SecurityError
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<'_r> TryFrom<&'_r Value> for SecurityError
[src]
impl<'_r> TryFrom<&'_r Value> for SecurityError
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 TryFrom<Value> for SyntaxError
[src]
impl TryFrom<Value> for SyntaxError
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<'_r> TryFrom<&'_r Value> for SyntaxError
[src]
impl<'_r> TryFrom<&'_r Value> for SyntaxError
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 TryFrom<Value> for IndexSizeError
[src]
impl TryFrom<Value> for IndexSizeError
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<'_r> TryFrom<&'_r Value> for IndexSizeError
[src]
impl<'_r> TryFrom<&'_r Value> for IndexSizeError
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 TryFrom<Value> for InvalidStateError
[src]
impl TryFrom<Value> for InvalidStateError
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<'_r> TryFrom<&'_r Value> for InvalidStateError
[src]
impl<'_r> TryFrom<&'_r Value> for InvalidStateError
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 TryFrom<Value> for TypeError
[src]
impl TryFrom<Value> for TypeError
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<'_r> TryFrom<&'_r Value> for TypeError
[src]
impl<'_r> TryFrom<&'_r Value> for TypeError
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 TryFrom<Value> for NotSupportedError
[src]
impl TryFrom<Value> for NotSupportedError
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<'_r> TryFrom<&'_r Value> for NotSupportedError
[src]
impl<'_r> TryFrom<&'_r Value> for NotSupportedError
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 TryFrom<Value> for InvalidCharacterError
[src]
impl TryFrom<Value> for InvalidCharacterError
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<'_r> TryFrom<&'_r Value> for InvalidCharacterError
[src]
impl<'_r> TryFrom<&'_r Value> for InvalidCharacterError
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 TryFrom<Value> for ChangeEvent
[src]
impl TryFrom<Value> for ChangeEvent
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<'_r> TryFrom<&'_r Value> for ChangeEvent
[src]
impl<'_r> TryFrom<&'_r Value> for ChangeEvent
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 TryFrom<Value> for InputEvent
[src]
impl TryFrom<Value> for InputEvent
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<'_r> TryFrom<&'_r Value> for InputEvent
[src]
impl<'_r> TryFrom<&'_r Value> for InputEvent
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 TryFrom<Value> for ResourceLoadEvent
[src]
impl TryFrom<Value> for ResourceLoadEvent
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<'_r> TryFrom<&'_r Value> for ResourceLoadEvent
[src]
impl<'_r> TryFrom<&'_r Value> for ResourceLoadEvent
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 TryFrom<Value> for ResourceAbortEvent
[src]
impl TryFrom<Value> for ResourceAbortEvent
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<'_r> TryFrom<&'_r Value> for ResourceAbortEvent
[src]
impl<'_r> TryFrom<&'_r Value> for ResourceAbortEvent
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 TryFrom<Value> for ResourceErrorEvent
[src]
impl TryFrom<Value> for ResourceErrorEvent
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<'_r> TryFrom<&'_r Value> for ResourceErrorEvent
[src]
impl<'_r> TryFrom<&'_r Value> for ResourceErrorEvent
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 TryFrom<Value> for ResizeEvent
[src]
impl TryFrom<Value> for ResizeEvent
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<'_r> TryFrom<&'_r Value> for ResizeEvent
[src]
impl<'_r> TryFrom<&'_r Value> for ResizeEvent
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 TryFrom<Value> for ReadyStateChangeEvent
[src]
impl TryFrom<Value> for ReadyStateChangeEvent
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<'_r> TryFrom<&'_r Value> for ReadyStateChangeEvent
[src]
impl<'_r> TryFrom<&'_r Value> for ReadyStateChangeEvent
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 TryFrom<Value> for SubmitEvent
[src]
impl TryFrom<Value> for SubmitEvent
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<'_r> TryFrom<&'_r Value> for SubmitEvent
[src]
impl<'_r> TryFrom<&'_r Value> for SubmitEvent
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 TryFrom<Value> for SelectionChangeEvent
[src]
impl TryFrom<Value> for SelectionChangeEvent
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<'_r> TryFrom<&'_r Value> for SelectionChangeEvent
[src]
impl<'_r> TryFrom<&'_r Value> for SelectionChangeEvent
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 TryFrom<Value> for FocusEvent
[src]
impl TryFrom<Value> for FocusEvent
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<'_r> TryFrom<&'_r Value> for FocusEvent
[src]
impl<'_r> TryFrom<&'_r Value> for FocusEvent
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 TryFrom<Value> for BlurEvent
[src]
impl TryFrom<Value> for BlurEvent
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<'_r> TryFrom<&'_r Value> for BlurEvent
[src]
impl<'_r> TryFrom<&'_r Value> for BlurEvent
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 TryFrom<Value> for GamepadConnectedEvent
[src]
impl TryFrom<Value> for GamepadConnectedEvent
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<'_r> TryFrom<&'_r Value> for GamepadConnectedEvent
[src]
impl<'_r> TryFrom<&'_r Value> for GamepadConnectedEvent
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 TryFrom<Value> for GamepadDisconnectedEvent
[src]
impl TryFrom<Value> for GamepadDisconnectedEvent
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<'_r> TryFrom<&'_r Value> for GamepadDisconnectedEvent
[src]
impl<'_r> TryFrom<&'_r Value> for GamepadDisconnectedEvent
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 TryFrom<Value> for HashChangeEvent
[src]
impl TryFrom<Value> for HashChangeEvent
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<'_r> TryFrom<&'_r Value> for HashChangeEvent
[src]
impl<'_r> TryFrom<&'_r Value> for HashChangeEvent
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 TryFrom<Value> for PopStateEvent
[src]
impl TryFrom<Value> for PopStateEvent
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<'_r> TryFrom<&'_r Value> for PopStateEvent
[src]
impl<'_r> TryFrom<&'_r Value> for PopStateEvent
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 TryFrom<Value> for KeyPressEvent
[src]
impl TryFrom<Value> for KeyPressEvent
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<'_r> TryFrom<&'_r Value> for KeyPressEvent
[src]
impl<'_r> TryFrom<&'_r Value> for KeyPressEvent
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 TryFrom<Value> for KeyDownEvent
[src]
impl TryFrom<Value> for KeyDownEvent
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<'_r> TryFrom<&'_r Value> for KeyDownEvent
[src]
impl<'_r> TryFrom<&'_r Value> for KeyDownEvent
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 TryFrom<Value> for KeyUpEvent
[src]
impl TryFrom<Value> for KeyUpEvent
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<'_r> TryFrom<&'_r Value> for KeyUpEvent
[src]
impl<'_r> TryFrom<&'_r Value> for KeyUpEvent
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 TryFrom<Value> for ClickEvent
[src]
impl TryFrom<Value> for ClickEvent
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<'_r> TryFrom<&'_r Value> for ClickEvent
[src]
impl<'_r> TryFrom<&'_r Value> for ClickEvent
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 TryFrom<Value> for AuxClickEvent
[src]
impl TryFrom<Value> for AuxClickEvent
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<'_r> TryFrom<&'_r Value> for AuxClickEvent
[src]
impl<'_r> TryFrom<&'_r Value> for AuxClickEvent
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 TryFrom<Value> for ContextMenuEvent
[src]
impl TryFrom<Value> for ContextMenuEvent
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<'_r> TryFrom<&'_r Value> for ContextMenuEvent
[src]
impl<'_r> TryFrom<&'_r Value> for ContextMenuEvent
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 TryFrom<Value> for DoubleClickEvent
[src]
impl TryFrom<Value> for DoubleClickEvent
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<'_r> TryFrom<&'_r Value> for DoubleClickEvent
[src]
impl<'_r> TryFrom<&'_r Value> for DoubleClickEvent
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 TryFrom<Value> for MouseDownEvent
[src]
impl TryFrom<Value> for MouseDownEvent
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<'_r> TryFrom<&'_r Value> for MouseDownEvent
[src]
impl<'_r> TryFrom<&'_r Value> for MouseDownEvent
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 TryFrom<Value> for MouseUpEvent
[src]
impl TryFrom<Value> for MouseUpEvent
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<'_r> TryFrom<&'_r Value> for MouseUpEvent
[src]
impl<'_r> TryFrom<&'_r Value> for MouseUpEvent
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 TryFrom<Value> for MouseMoveEvent
[src]
impl TryFrom<Value> for MouseMoveEvent
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<'_r> TryFrom<&'_r Value> for MouseMoveEvent
[src]
impl<'_r> TryFrom<&'_r Value> for MouseMoveEvent
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 TryFrom<Value> for MouseOverEvent
[src]
impl TryFrom<Value> for MouseOverEvent
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<'_r> TryFrom<&'_r Value> for MouseOverEvent
[src]
impl<'_r> TryFrom<&'_r Value> for MouseOverEvent
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 TryFrom<Value> for MouseOutEvent
[src]
impl TryFrom<Value> for MouseOutEvent
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<'_r> TryFrom<&'_r Value> for MouseOutEvent
[src]
impl<'_r> TryFrom<&'_r Value> for MouseOutEvent
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 TryFrom<Value> for MouseEnterEvent
[src]
impl TryFrom<Value> for MouseEnterEvent
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<'_r> TryFrom<&'_r Value> for MouseEnterEvent
[src]
impl<'_r> TryFrom<&'_r Value> for MouseEnterEvent
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 TryFrom<Value> for MouseLeaveEvent
[src]
impl TryFrom<Value> for MouseLeaveEvent
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<'_r> TryFrom<&'_r Value> for MouseLeaveEvent
[src]
impl<'_r> TryFrom<&'_r Value> for MouseLeaveEvent
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 TryFrom<Value> for PointerOverEvent
[src]
impl TryFrom<Value> for PointerOverEvent
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<'_r> TryFrom<&'_r Value> for PointerOverEvent
[src]
impl<'_r> TryFrom<&'_r Value> for PointerOverEvent
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 TryFrom<Value> for PointerEnterEvent
[src]
impl TryFrom<Value> for PointerEnterEvent
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<'_r> TryFrom<&'_r Value> for PointerEnterEvent
[src]
impl<'_r> TryFrom<&'_r Value> for PointerEnterEvent
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 TryFrom<Value> for PointerDownEvent
[src]
impl TryFrom<Value> for PointerDownEvent
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<'_r> TryFrom<&'_r Value> for PointerDownEvent
[src]
impl<'_r> TryFrom<&'_r Value> for PointerDownEvent
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 TryFrom<Value> for PointerMoveEvent
[src]
impl TryFrom<Value> for PointerMoveEvent
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<'_r> TryFrom<&'_r Value> for PointerMoveEvent
[src]
impl<'_r> TryFrom<&'_r Value> for PointerMoveEvent
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 TryFrom<Value> for PointerUpEvent
[src]
impl TryFrom<Value> for PointerUpEvent
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<'_r> TryFrom<&'_r Value> for PointerUpEvent
[src]
impl<'_r> TryFrom<&'_r Value> for PointerUpEvent
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 TryFrom<Value> for PointerCancelEvent
[src]
impl TryFrom<Value> for PointerCancelEvent
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<'_r> TryFrom<&'_r Value> for PointerCancelEvent
[src]
impl<'_r> TryFrom<&'_r Value> for PointerCancelEvent
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 TryFrom<Value> for PointerOutEvent
[src]
impl TryFrom<Value> for PointerOutEvent
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<'_r> TryFrom<&'_r Value> for PointerOutEvent
[src]
impl<'_r> TryFrom<&'_r Value> for PointerOutEvent
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 TryFrom<Value> for PointerLeaveEvent
[src]
impl TryFrom<Value> for PointerLeaveEvent
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<'_r> TryFrom<&'_r Value> for PointerLeaveEvent
[src]
impl<'_r> TryFrom<&'_r Value> for PointerLeaveEvent
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 TryFrom<Value> for GotPointerCaptureEvent
[src]
impl TryFrom<Value> for GotPointerCaptureEvent
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<'_r> TryFrom<&'_r Value> for GotPointerCaptureEvent
[src]
impl<'_r> TryFrom<&'_r Value> for GotPointerCaptureEvent
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 TryFrom<Value> for LostPointerCaptureEvent
[src]
impl TryFrom<Value> for LostPointerCaptureEvent
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<'_r> TryFrom<&'_r Value> for LostPointerCaptureEvent
[src]
impl<'_r> TryFrom<&'_r Value> for LostPointerCaptureEvent
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 TryFrom<Value> for ProgressEvent
[src]
impl TryFrom<Value> for ProgressEvent
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<'_r> TryFrom<&'_r Value> for ProgressEvent
[src]
impl<'_r> TryFrom<&'_r Value> for ProgressEvent
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 TryFrom<Value> for ProgressLoadEvent
[src]
impl TryFrom<Value> for ProgressLoadEvent
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<'_r> TryFrom<&'_r Value> for ProgressLoadEvent
[src]
impl<'_r> TryFrom<&'_r Value> for ProgressLoadEvent
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 TryFrom<Value> for LoadStartEvent
[src]
impl TryFrom<Value> for LoadStartEvent
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<'_r> TryFrom<&'_r Value> for LoadStartEvent
[src]
impl<'_r> TryFrom<&'_r Value> for LoadStartEvent
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 TryFrom<Value> for LoadEndEvent
[src]
impl TryFrom<Value> for LoadEndEvent
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<'_r> TryFrom<&'_r Value> for LoadEndEvent
[src]
impl<'_r> TryFrom<&'_r Value> for LoadEndEvent
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 TryFrom<Value> for ProgressAbortEvent
[src]
impl TryFrom<Value> for ProgressAbortEvent
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<'_r> TryFrom<&'_r Value> for ProgressAbortEvent
[src]
impl<'_r> TryFrom<&'_r Value> for ProgressAbortEvent
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 TryFrom<Value> for ProgressErrorEvent
[src]
impl TryFrom<Value> for ProgressErrorEvent
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<'_r> TryFrom<&'_r Value> for ProgressErrorEvent
[src]
impl<'_r> TryFrom<&'_r Value> for ProgressErrorEvent
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 TryFrom<Value> for SocketCloseEvent
[src]
impl TryFrom<Value> for SocketCloseEvent
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<'_r> TryFrom<&'_r Value> for SocketCloseEvent
[src]
impl<'_r> TryFrom<&'_r Value> for SocketCloseEvent
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 TryFrom<Value> for SocketErrorEvent
[src]
impl TryFrom<Value> for SocketErrorEvent
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<'_r> TryFrom<&'_r Value> for SocketErrorEvent
[src]
impl<'_r> TryFrom<&'_r Value> for SocketErrorEvent
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 TryFrom<Value> for SocketOpenEvent
[src]
impl TryFrom<Value> for SocketOpenEvent
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<'_r> TryFrom<&'_r Value> for SocketOpenEvent
[src]
impl<'_r> TryFrom<&'_r Value> for SocketOpenEvent
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 TryFrom<Value> for SocketMessageData
[src]
impl TryFrom<Value> for SocketMessageData
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(v: Value) -> Result<SocketMessageData, ConversionError>
[src]
fn try_from(v: Value) -> Result<SocketMessageData, ConversionError>
Performs the conversion.
impl TryFrom<Value> for SocketMessageEvent
[src]
impl TryFrom<Value> for SocketMessageEvent
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<'_r> TryFrom<&'_r Value> for SocketMessageEvent
[src]
impl<'_r> TryFrom<&'_r Value> for SocketMessageEvent
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 TryFrom<Value> for HtmlCollection
[src]
impl TryFrom<Value> for HtmlCollection
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<'_r> TryFrom<&'_r Value> for HtmlCollection
[src]
impl<'_r> TryFrom<&'_r Value> for HtmlCollection
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 TryFrom<Value> for GamepadMappingType
[src]
impl TryFrom<Value> for GamepadMappingType
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(v: Value) -> Result<Self, Self::Error>
[src]
fn try_from(v: Value) -> Result<Self, Self::Error>
Performs the conversion.
impl TryFrom<Value> for GamepadButton
[src]
impl TryFrom<Value> for GamepadButton
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<'_r> TryFrom<&'_r Value> for GamepadButton
[src]
impl<'_r> TryFrom<&'_r Value> for GamepadButton
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 TryFrom<Value> for Gamepad
[src]
impl TryFrom<Value> for Gamepad
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<'_r> TryFrom<&'_r Value> for Gamepad
[src]
impl<'_r> TryFrom<&'_r Value> for Gamepad
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 Serialize for Value
[src]
impl Serialize for Value
fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>
[src]
fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for Value
[src]
impl<'de> Deserialize<'de> for Value
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl<'de> Deserializer<'de> for Value
[src]
impl<'de> Deserializer<'de> for Value
type Error = ConversionError
The error type that can be returned if some error occurs during deserialization. Read more
fn deserialize_any<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
[src]
fn deserialize_any<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
Require the Deserializer
to figure out how to drive the visitor based on what data type is in the input. Read more
fn deserialize_option<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
[src]
fn deserialize_option<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>
Hint that the Deserialize
type is expecting an optional value. Read more
fn deserialize_enum<V: Visitor<'de>>(
self,
_name: &str,
_variants: &'static [&'static str],
visitor: V
) -> Result<V::Value, Self::Error>
[src]
fn deserialize_enum<V: Visitor<'de>>(
self,
_name: &str,
_variants: &'static [&'static str],
visitor: V
) -> Result<V::Value, Self::Error>
Hint that the Deserialize
type is expecting an enum value with a particular name and possible variants. Read more
fn deserialize_newtype_struct<V: Visitor<'de>>(
self,
_name: &'static str,
visitor: V
) -> Result<V::Value, Self::Error>
[src]
fn deserialize_newtype_struct<V: Visitor<'de>>(
self,
_name: &'static str,
visitor: V
) -> Result<V::Value, Self::Error>
Hint that the Deserialize
type is expecting a newtype struct with a particular name. Read more
fn deserialize_bool<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_bool<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type is expecting a bool
value.
fn deserialize_u8<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_u8<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type is expecting a u8
value.
fn deserialize_u16<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_u16<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type is expecting a u16
value.
fn deserialize_u32<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_u32<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type is expecting a u32
value.
fn deserialize_u64<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_u64<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type is expecting a u64
value.
fn deserialize_i8<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_i8<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type is expecting an i8
value.
fn deserialize_i16<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_i16<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type is expecting an i16
value.
fn deserialize_i32<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_i32<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type is expecting an i32
value.
fn deserialize_i64<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_i64<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type is expecting an i64
value.
fn deserialize_f32<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_f32<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type is expecting a f32
value.
fn deserialize_f64<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_f64<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type is expecting a f64
value.
fn deserialize_char<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_char<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type is expecting a char
value.
fn deserialize_str<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_str<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type is expecting a string value and does not benefit from taking ownership of buffered data owned by the Deserializer
. Read more
fn deserialize_string<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_string<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type is expecting a string value and would benefit from taking ownership of buffered data owned by the Deserializer
. Read more
fn deserialize_unit<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_unit<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type is expecting a unit value.
fn deserialize_seq<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_seq<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type is expecting a sequence of values.
fn deserialize_bytes<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_bytes<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type is expecting a byte array and does not benefit from taking ownership of buffered data owned by the Deserializer
. Read more
fn deserialize_byte_buf<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_byte_buf<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type is expecting a byte array and would benefit from taking ownership of buffered data owned by the Deserializer
. Read more
fn deserialize_map<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_map<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type is expecting a map of key-value pairs.
fn deserialize_unit_struct<V>(
self,
name: &'static str,
visitor: V
) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_unit_struct<V>(
self,
name: &'static str,
visitor: V
) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type is expecting a unit struct with a particular name. Read more
fn deserialize_tuple_struct<V>(
self,
name: &'static str,
len: usize,
visitor: V
) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_tuple_struct<V>(
self,
name: &'static str,
len: usize,
visitor: V
) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type is expecting a tuple struct with a particular name and number of fields. Read more
fn deserialize_struct<V>(
self,
name: &'static str,
fields: &'static [&'static str],
visitor: V
) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_struct<V>(
self,
name: &'static str,
fields: &'static [&'static str],
visitor: V
) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type is expecting a struct with a particular name and fields. Read more
fn deserialize_identifier<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_identifier<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type is expecting the name of a struct field or the discriminant of an enum variant. Read more
fn deserialize_tuple<V>(
self,
len: usize,
visitor: V
) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_tuple<V>(
self,
len: usize,
visitor: V
) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type is expecting a sequence of values and knows how many values there are without looking at the serialized data. Read more
fn deserialize_ignored_any<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_ignored_any<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
Hint that the Deserialize
type needs to deserialize a value whose type doesn't matter because it is ignored. Read more
fn is_human_readable(&self) -> bool
[src]
fn is_human_readable(&self) -> bool
Determine whether Deserialize
implementations should expect to deserialize their human-readable form. Read more
impl<T: Serialize> TryFrom<Serde<T>> for Value
[src]
impl<T: Serialize> TryFrom<Serde<T>> for Value
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Serde<T>) -> Result<Self, Self::Error>
[src]
fn try_from(value: Serde<T>) -> Result<Self, Self::Error>
Performs the conversion.
impl<'a, T: Serialize> TryFrom<&'a Serde<T>> for Value
[src]
impl<'a, T: Serialize> TryFrom<&'a Serde<T>> for Value
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &'a Serde<T>) -> Result<Self, Self::Error>
[src]
fn try_from(value: &'a Serde<T>) -> Result<Self, Self::Error>
Performs the conversion.
impl<'a, T: Serialize> TryFrom<&'a mut Serde<T>> for Value
[src]
impl<'a, T: Serialize> TryFrom<&'a mut Serde<T>> for Value
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &'a mut Serde<T>) -> Result<Self, Self::Error>
[src]
fn try_from(value: &'a mut Serde<T>) -> Result<Self, Self::Error>
Performs the conversion.
impl<'de, T: Deserialize<'de>> TryFrom<Value> for Serde<T>
[src]
impl<'de, T: Deserialize<'de>> TryFrom<Value> for Serde<T>
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 TryFrom<JsonValue> for Value
[src]
impl TryFrom<JsonValue> for Value