[−][src]Enum stdweb::Value
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
Bool(bool)Number(Number)Symbol(Symbol)String(String)Reference(Reference)Methods
impl Value[src]
pub fn is_null(&self) -> bool[src]
Checks whenever the Value is of the Null variant.
pub fn is_symbol(&self) -> bool[src]
Checks whenever the Value is of the Symbol variant.
pub fn is_reference(&self) -> bool[src]
Checks whenever the Value is of the Reference variant.
pub fn is_object(&self) -> bool[src]
Checks whenever the Value is a reference to an Object.
pub fn is_array(&self) -> bool[src]
Checks whenever the Value is a reference to an Array.
pub fn as_reference(&self) -> Option<&Reference>[src]
Gets a reference to the Reference inside this Value.
pub fn as_object(&self) -> Option<&Object>[src]
Gets a reference to the Object inside this Value.
pub fn as_array(&self) -> Option<&Array>[src]
Gets a reference to the Array inside this Value.
pub fn into_reference(self) -> Option<Reference>[src]
Returns the Reference inside this Value.
pub fn into_object(self) -> Option<Object>[src]
Returns the Object inside this Value.
pub fn into_array(self) -> Option<Array>[src]
Returns the Array inside this Value.
pub unsafe fn into_reference_unchecked<T: ReferenceType>(self) -> Option<T>[src]
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]
Returns the String inside this Value.
pub fn as_str(&self) -> Option<&str>[src]
Returns a borrow of the string inside this Value.
Trait Implementations
impl JsSerialize for Value[src]
impl TryFrom<i8> for Value[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: i8) -> Result<Self, Self::Error>[src]
impl TryFrom<i16> for Value[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: i16) -> Result<Self, Self::Error>[src]
impl TryFrom<i32> for Value[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: i32) -> Result<Self, Self::Error>[src]
impl TryFrom<u8> for Value[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: u8) -> Result<Self, Self::Error>[src]
impl TryFrom<u16> for Value[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: u16) -> Result<Self, Self::Error>[src]
impl TryFrom<u32> for Value[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: u32) -> Result<Self, Self::Error>[src]
impl TryFrom<f32> for Value[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: f32) -> Result<Self, Self::Error>[src]
impl TryFrom<f64> for Value[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: f64) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Value[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Undefined> for Value[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: Undefined) -> Result<Self, Self::Error>[src]
impl<'a> TryFrom<&'a Undefined> for Value[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a Undefined) -> Result<Self, Self::Error>[src]
impl<'a> TryFrom<&'a mut Undefined> for Value[src]
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]
impl TryFrom<Null> for Value[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: Null) -> Result<Self, Self::Error>[src]
impl<'a> TryFrom<&'a Null> for Value[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a Null) -> Result<Self, Self::Error>[src]
impl<'a> TryFrom<&'a mut Null> for Value[src]
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]
impl TryFrom<bool> for Value[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: bool) -> Result<Self, Self::Error>[src]
impl<'a> TryFrom<&'a bool> for Value[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a bool) -> Result<Self, Self::Error>[src]
impl<'a> TryFrom<&'a mut bool> for Value[src]
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]
impl<'a> TryFrom<&'a str> for Value[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a str) -> Result<Self, Self::Error>[src]
impl<'a> TryFrom<&'a mut str> for Value[src]
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]
impl TryFrom<String> for Value[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: String) -> Result<Self, Self::Error>[src]
impl<'a> TryFrom<&'a String> for Value[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a String) -> Result<Self, Self::Error>[src]
impl<'a> TryFrom<&'a mut String> for Value[src]
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]
impl TryFrom<char> for Value[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: char) -> Result<Self, Self::Error>[src]
impl<'a> TryFrom<&'a char> for Value[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a char) -> Result<Self, Self::Error>[src]
impl<'a> TryFrom<&'a mut char> for Value[src]
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]
impl<T> TryFrom<Vec<T>> for Value where
T: JsSerialize, [src]
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]
impl<'a, T> TryFrom<&'a Vec<T>> for Value where
T: JsSerialize, [src]
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]
impl<'a, T> TryFrom<&'a mut Vec<T>> for Value where
T: JsSerialize, [src]
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]
impl<'a, T> TryFrom<&'a [T]> for Value where
T: JsSerialize, [src]
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]
impl<'a, T> TryFrom<&'a mut [T]> for Value where
T: JsSerialize, [src]
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]
impl<K, V> TryFrom<BTreeMap<K, V>> for Value where
K: AsRef<str>,
V: JsSerialize, [src]
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]
impl<'a, K, V> TryFrom<&'a BTreeMap<K, V>> for Value where
K: AsRef<str>,
V: JsSerialize, [src]
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]
impl<'a, K, V> TryFrom<&'a mut BTreeMap<K, V>> for Value where
K: AsRef<str>,
V: JsSerialize, [src]
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]
impl<K, V> TryFrom<HashMap<K, V, RandomState>> for Value where
K: AsRef<str> + Eq + Hash,
V: JsSerialize, [src]
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]
impl<'a, K, V> TryFrom<&'a HashMap<K, V, RandomState>> for Value where
K: AsRef<str> + Eq + Hash,
V: JsSerialize, [src]
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]
impl<'a, K, V> TryFrom<&'a mut HashMap<K, V, RandomState>> for Value where
K: AsRef<str> + Eq + Hash,
V: JsSerialize, [src]
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]
impl TryFrom<Symbol> for Value[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: Symbol) -> Result<Self, Self::Error>[src]
impl TryFrom<Reference> for Value[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: Reference) -> Result<Self, Self::Error>[src]
impl TryFrom<i64> for Value[src]
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]
impl TryFrom<u64> for Value[src]
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]
impl TryFrom<usize> for Value[src]
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]
impl TryFrom<Value> for Undefined[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Null[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for ()[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for bool[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for u8[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for u16[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for u32[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for u64[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for usize[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for i8[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for i16[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for i32[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for i64[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for f64[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<E: Into<ConversionError>, V: TryFrom<Value, Error = E>> TryFrom<Value> for BTreeMap<String, V>[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<E: Into<ConversionError>, V: TryFrom<Value, Error = E>> TryFrom<Value> for HashMap<String, V>[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<E: Into<ConversionError>, T: TryFrom<Value, Error = E>> TryFrom<Value> for Vec<T>[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for String[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Symbol[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Reference[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'a> TryFrom<&'a Value> for &'a str[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &'a Value) -> Result<Self, Self::Error>[src]
impl<'a> TryFrom<&'a Value> for &'a Symbol[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &'a Value) -> Result<Self, Self::Error>[src]
impl<'a> TryFrom<&'a Value> for &'a Reference[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &'a Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Option<bool>[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Option<u8>[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Option<u16>[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Option<u32>[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Option<u64>[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Option<usize>[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Option<i8>[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Option<i16>[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Option<i32>[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Option<i64>[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Option<f64>[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<V> TryFrom<Value> for Option<BTreeMap<String, V>> where
V: TryFrom<Value, Error = ConversionError>, [src]
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]
impl<V> TryFrom<Value> for Option<HashMap<String, V>> where
V: TryFrom<Value, Error = ConversionError>, [src]
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]
impl<T> TryFrom<Value> for Option<Vec<T>> where
T: TryFrom<Value, Error = ConversionError>, [src]
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]
impl TryFrom<Value> for Option<String>[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Option<Symbol>[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'a> TryFrom<&'a Value> for Option<&'a str>[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &'a Value) -> Result<Self, Self::Error>[src]
impl<'a> TryFrom<&'a Value> for Option<&'a Reference>[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &'a Value) -> Result<Self, Self::Error>[src]
impl<T: TryFrom<Value, Error = ConversionError> + AsRef<Reference>> TryFrom<Value> for Option<T>[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Object[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for Object[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Array[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for Array[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Date[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for Date[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Document[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for Document[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Window[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for Window[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for BeforeUnloadEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for BeforeUnloadEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for UnloadEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for UnloadEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for EventTarget[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for EventTarget[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Node[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for Node[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Element[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for Element[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Rect[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for Rect[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for HtmlElement[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for HtmlElement[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for CanvasElement[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for CanvasElement[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for ImageElement[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for ImageElement[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for InputElement[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for InputElement[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for TextAreaElement[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for TextAreaElement[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for SelectElement[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for SelectElement[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for OptionElement[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for OptionElement[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for TemplateElement[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for TemplateElement[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for SlotElement[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for SlotElement[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for TokenList[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for TokenList[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for DocumentFragment[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for DocumentFragment[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for TextNode[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for TextNode[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for NodeList[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for NodeList[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for StringMap[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for StringMap[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Location[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for Location[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Storage[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for Storage[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Blob[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for Blob[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for File[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for File[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for FileList[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for FileList[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for FileReader[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for FileReader[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for ArrayBuffer[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for ArrayBuffer[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl<T: ArrayKind> TryFrom<Value> for TypedArray<T>[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r, T: ArrayKind> TryFrom<&'_r Value> for TypedArray<T>[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for XmlHttpRequest[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for XmlHttpRequest[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for XhrSetResponseTypeError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for History[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for History[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for WebSocket[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for WebSocket[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for SocketReadyState[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(v: Value) -> Result<SocketReadyState, ConversionError>[src]
Performs the conversion.
impl TryFrom<Value> for CanvasRenderingContext2d[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for CanvasRenderingContext2d[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for CanvasGradient[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for CanvasGradient[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for CanvasPattern[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for CanvasPattern[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for ImageData[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for ImageData[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for TextMetrics[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for TextMetrics[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for AddColorStopError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for DrawImageError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for GetImageDataError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for CanvasStyle[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
Performs the conversion.
impl TryFrom<Value> for MutationObserver[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for MutationObserver[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for MutationRecord[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(v: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Error[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for Error[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for TypeError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for TypeError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Touch[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for Touch[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for TouchType[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(v: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for DomException[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for DomException[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for HierarchyRequestError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for HierarchyRequestError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for InvalidAccessError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for InvalidAccessError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for NotFoundError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for NotFoundError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for SecurityError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for SecurityError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for SyntaxError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for SyntaxError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for IndexSizeError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for IndexSizeError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for InvalidStateError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for InvalidStateError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for NotSupportedError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for NotSupportedError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for InvalidCharacterError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for InvalidCharacterError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for AbortError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for AbortError[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for ChangeEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for ChangeEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for InputEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for InputEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for ResourceLoadEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for ResourceLoadEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for ResourceAbortEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for ResourceAbortEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for ResourceErrorEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for ResourceErrorEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for ResizeEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for ResizeEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for ScrollEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for ScrollEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for ReadyStateChangeEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for ReadyStateChangeEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for SubmitEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for SubmitEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for SelectionChangeEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for SelectionChangeEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for DragRelatedEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for DragRelatedEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for DragEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for DragEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for DragStartEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for DragStartEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for DragEnterEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for DragEnterEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for DragExitEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for DragExitEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for DragLeaveEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for DragLeaveEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for DragOverEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for DragOverEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for DragDropEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for DragDropEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for DragEndEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for DragEndEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for DataTransfer[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for DataTransfer[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for DataTransferItemList[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for DataTransferItemList[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for DataTransferItem[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for DataTransferItem[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for FocusEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for FocusEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for BlurEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for BlurEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for GamepadConnectedEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for GamepadConnectedEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for GamepadDisconnectedEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for GamepadDisconnectedEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for HashChangeEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for HashChangeEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for PopStateEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for PopStateEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for KeyPressEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for KeyPressEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for KeyDownEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for KeyDownEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for KeyUpEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for KeyUpEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for ClickEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for ClickEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for AuxClickEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for AuxClickEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for ContextMenuEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for ContextMenuEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for DoubleClickEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for DoubleClickEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for MouseDownEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for MouseDownEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for MouseUpEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for MouseUpEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for MouseMoveEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for MouseMoveEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for MouseOverEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for MouseOverEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for MouseOutEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for MouseOutEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for MouseEnterEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for MouseEnterEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for MouseLeaveEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for MouseLeaveEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for MouseWheelEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for MouseWheelEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for PointerOverEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for PointerOverEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for PointerEnterEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for PointerEnterEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for PointerDownEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for PointerDownEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for PointerMoveEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for PointerMoveEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for PointerUpEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for PointerUpEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for PointerCancelEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for PointerCancelEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for PointerOutEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for PointerOutEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for PointerLeaveEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for PointerLeaveEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for GotPointerCaptureEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for GotPointerCaptureEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for LostPointerCaptureEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for LostPointerCaptureEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for PointerLockChangeEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for PointerLockChangeEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for PointerLockErrorEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for PointerLockErrorEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for ProgressEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for ProgressEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for ProgressLoadEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for ProgressLoadEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for LoadStartEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for LoadStartEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for LoadEndEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for LoadEndEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for ProgressAbortEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for ProgressAbortEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for ProgressErrorEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for ProgressErrorEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for SocketCloseEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for SocketCloseEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for SocketErrorEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for SocketErrorEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for SocketOpenEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for SocketOpenEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for SocketMessageData[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(v: Value) -> Result<SocketMessageData, ConversionError>[src]
impl TryFrom<Value> for SocketMessageEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for SocketMessageEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for SlotChangeEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for SlotChangeEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for TouchEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for TouchEvent[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for TouchMove[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for TouchMove[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for TouchLeave[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for TouchLeave[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for TouchEnter[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for TouchEnter[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for TouchEnd[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for TouchEnd[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for TouchCancel[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for TouchCancel[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for TouchStart[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for TouchStart[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for HtmlCollection[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for HtmlCollection[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for GamepadMappingType[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(v: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for GamepadButton[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for GamepadButton[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Gamepad[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for Gamepad[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Selection[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for Selection[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for ShadowRoot[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for ShadowRoot[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for FormData[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'_r> TryFrom<&'_r Value> for FormData[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for FormDataEntry[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Option<FormDataEntry>[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<T: Serialize> TryFrom<Serde<T>> for Value[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Serde<T>) -> Result<Self, Self::Error>[src]
impl<'a, T: Serialize> TryFrom<&'a Serde<T>> for Value[src]
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]
impl<'a, T: Serialize> TryFrom<&'a mut Serde<T>> for Value[src]
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]
impl<'de, T: Deserialize<'de>> TryFrom<Value> for Serde<T>[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl<'de, T: Deserialize<'de>> TryFrom<Value> for Option<Serde<T>>[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
impl TryFrom<Value> for Value[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: JsonValue) -> Result<Self, Self::Error>[src]
impl Clone for Value[src]
impl AsRef<Value> for Value[src]
impl PartialEq<Value> for Value[src]
impl PartialEq<Undefined> for Value[src]
impl PartialEq<Null> for Value[src]
impl PartialEq<bool> for Value[src]
impl PartialEq<str> for Value[src]
impl PartialEq<String> for Value[src]
impl PartialEq<Number> for Value[src]
impl PartialEq<Symbol> for Value[src]
impl<T: AsRef<Reference>> PartialEq<T> for Value[src]
impl<'a> PartialEq<Reference> for &'a Value[src]
impl PartialEq<Value> for Reference[src]
impl<'a> PartialEq<&'a Value> for Reference[src]
impl<'a> PartialEq<Value> for &'a Reference[src]
impl PartialEq<i8> for Value[src]
impl<'a> PartialEq<&'a i8> for Value[src]
impl<'a> PartialEq<i8> for &'a Value[src]
impl PartialEq<Value> for i8[src]
impl<'a> PartialEq<&'a Value> for i8[src]
impl<'a> PartialEq<Value> for &'a i8[src]
impl PartialEq<i16> for Value[src]
impl<'a> PartialEq<&'a i16> for Value[src]
impl<'a> PartialEq<i16> for &'a Value[src]
impl PartialEq<Value> for i16[src]
impl<'a> PartialEq<&'a Value> for i16[src]
impl<'a> PartialEq<Value> for &'a i16[src]
impl PartialEq<i32> for Value[src]
impl<'a> PartialEq<&'a i32> for Value[src]
impl<'a> PartialEq<i32> for &'a Value[src]
impl PartialEq<Value> for i32[src]
impl<'a> PartialEq<&'a Value> for i32[src]
impl<'a> PartialEq<Value> for &'a i32[src]
impl PartialEq<i64> for Value[src]
impl<'a> PartialEq<&'a i64> for Value[src]
impl<'a> PartialEq<i64> for &'a Value[src]
impl PartialEq<Value> for i64[src]
impl<'a> PartialEq<&'a Value> for i64[src]
impl<'a> PartialEq<Value> for &'a i64[src]
impl PartialEq<u8> for Value[src]
impl<'a> PartialEq<&'a u8> for Value[src]
impl<'a> PartialEq<u8> for &'a Value[src]
impl PartialEq<Value> for u8[src]
impl<'a> PartialEq<&'a Value> for u8[src]
impl<'a> PartialEq<Value> for &'a u8[src]
impl PartialEq<u16> for Value[src]
impl<'a> PartialEq<&'a u16> for Value[src]
impl<'a> PartialEq<u16> for &'a Value[src]
impl PartialEq<Value> for u16[src]
impl<'a> PartialEq<&'a Value> for u16[src]
impl<'a> PartialEq<Value> for &'a u16[src]
impl PartialEq<u32> for Value[src]
impl<'a> PartialEq<&'a u32> for Value[src]
impl<'a> PartialEq<u32> for &'a Value[src]
impl PartialEq<Value> for u32[src]
impl<'a> PartialEq<&'a Value> for u32[src]
impl<'a> PartialEq<Value> for &'a u32[src]
impl PartialEq<u64> for Value[src]
impl<'a> PartialEq<&'a u64> for Value[src]
impl<'a> PartialEq<u64> for &'a Value[src]
impl PartialEq<Value> for u64[src]
impl<'a> PartialEq<&'a Value> for u64[src]
impl<'a> PartialEq<Value> for &'a u64[src]
impl PartialEq<usize> for Value[src]
impl<'a> PartialEq<&'a usize> for Value[src]
impl<'a> PartialEq<usize> for &'a Value[src]
impl PartialEq<Value> for usize[src]
impl<'a> PartialEq<&'a Value> for usize[src]
impl<'a> PartialEq<Value> for &'a usize[src]
impl PartialEq<f32> for Value[src]
impl<'a> PartialEq<&'a f32> for Value[src]
impl<'a> PartialEq<f32> for &'a Value[src]
impl PartialEq<Value> for f32[src]
impl<'a> PartialEq<&'a Value> for f32[src]
impl<'a> PartialEq<Value> for &'a f32[src]
impl PartialEq<f64> for Value[src]
impl<'a> PartialEq<&'a f64> for Value[src]
impl<'a> PartialEq<f64> for &'a Value[src]
impl PartialEq<Value> for f64[src]
impl<'a> PartialEq<&'a Value> for f64[src]
impl<'a> PartialEq<Value> for &'a f64[src]
impl<'a> PartialEq<&'a Undefined> for Value[src]
fn eq(&self, right: &&'a Undefined) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'a> PartialEq<Undefined> for &'a Value[src]
impl PartialEq<Value> for Undefined[src]
impl<'a> PartialEq<&'a Value> for Undefined[src]
impl<'a> PartialEq<Value> for &'a Undefined[src]
impl<'a> PartialEq<&'a Null> for Value[src]
impl<'a> PartialEq<Null> for &'a Value[src]
impl PartialEq<Value> for Null[src]
impl<'a> PartialEq<&'a Value> for Null[src]
impl<'a> PartialEq<Value> for &'a Null[src]
impl<'a> PartialEq<&'a bool> for Value[src]
impl<'a> PartialEq<bool> for &'a Value[src]
impl PartialEq<Value> for bool[src]
impl<'a> PartialEq<&'a Value> for bool[src]
impl<'a> PartialEq<Value> for &'a bool[src]
impl<'a> PartialEq<&'a str> for Value[src]
impl<'a> PartialEq<str> for &'a Value[src]
impl PartialEq<Value> for str[src]
impl<'a> PartialEq<&'a Value> for str[src]
impl<'a> PartialEq<Value> for &'a str[src]
impl<'a> PartialEq<&'a String> for Value[src]
fn eq(&self, right: &&'a String) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'a> PartialEq<String> for &'a Value[src]
impl PartialEq<Value> for String[src]
impl<'a> PartialEq<&'a Value> for String[src]
impl<'a> PartialEq<Value> for &'a String[src]
impl<'a> PartialEq<&'a Number> for Value[src]
fn eq(&self, right: &&'a Number) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'a> PartialEq<Number> for &'a Value[src]
impl PartialEq<Value> for Number[src]
impl<'a> PartialEq<&'a Value> for Number[src]
impl<'a> PartialEq<Value> for &'a Number[src]
impl<'a> PartialEq<&'a Symbol> for Value[src]
fn eq(&self, right: &&'a Symbol) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'a> PartialEq<Symbol> for &'a Value[src]
impl PartialEq<Value> for Symbol[src]
impl<'a> PartialEq<&'a Value> for Symbol[src]
impl<'a> PartialEq<Value> for &'a Symbol[src]
impl From<Undefined> for Value[src]
impl<'a> From<&'a Undefined> for Value[src]
impl<'a> From<&'a mut Undefined> for Value[src]
impl From<Null> for Value[src]
impl<'a> From<&'a Null> for Value[src]
impl<'a> From<&'a mut Null> for Value[src]
impl From<bool> for Value[src]
impl<'a> From<&'a bool> for Value[src]
impl<'a> From<&'a mut bool> for Value[src]
impl<'a> From<&'a str> for Value[src]
impl<'a> From<&'a mut str> for Value[src]
impl From<String> for Value[src]
impl<'a> From<&'a String> for Value[src]
impl<'a> From<&'a mut String> for Value[src]
impl From<char> for Value[src]
impl<'a> From<&'a char> for Value[src]
impl<'a> From<&'a mut char> for Value[src]
impl<T> From<Vec<T>> for Value where
T: JsSerialize, [src]
T: JsSerialize,
impl<'a, T> From<&'a Vec<T>> for Value where
T: JsSerialize, [src]
T: JsSerialize,
impl<'a, T> From<&'a mut Vec<T>> for Value where
T: JsSerialize, [src]
T: JsSerialize,
impl<'a, T> From<&'a [T]> for Value where
T: JsSerialize, [src]
T: JsSerialize,
impl<'a, T> From<&'a mut [T]> for Value where
T: JsSerialize, [src]
T: JsSerialize,
fn from(value: &'a mut [T]) -> Self[src]
impl<K, V> From<BTreeMap<K, V>> for Value where
K: AsRef<str>,
V: JsSerialize, [src]
K: AsRef<str>,
V: JsSerialize,
impl<'a, K, V> From<&'a BTreeMap<K, V>> for Value where
K: AsRef<str>,
V: JsSerialize, [src]
K: AsRef<str>,
V: JsSerialize,
impl<'a, K, V> From<&'a mut BTreeMap<K, V>> for Value where
K: AsRef<str>,
V: JsSerialize, [src]
K: AsRef<str>,
V: JsSerialize,
impl<K, V> From<HashMap<K, V, RandomState>> for Value where
K: AsRef<str> + Eq + Hash,
V: JsSerialize, [src]
K: AsRef<str> + Eq + Hash,
V: JsSerialize,
impl<'a, K, V> From<&'a HashMap<K, V, RandomState>> for Value where
K: AsRef<str> + Eq + Hash,
V: JsSerialize, [src]
K: AsRef<str> + Eq + Hash,
V: JsSerialize,
impl<'a, K, V> From<&'a mut HashMap<K, V, RandomState>> for Value where
K: AsRef<str> + Eq + Hash,
V: JsSerialize, [src]
K: AsRef<str> + Eq + Hash,
V: JsSerialize,
impl From<Reference> for Value[src]
impl<'a> From<&'a Reference> for Value[src]
impl<'a> From<&'a mut Reference> for Value[src]
impl From<i8> for Value[src]
impl<'a> From<&'a i8> for Value[src]
impl<'a> From<&'a mut i8> for Value[src]
impl From<i16> for Value[src]
impl<'a> From<&'a i16> for Value[src]
impl<'a> From<&'a mut i16> for Value[src]
impl From<i32> for Value[src]
impl<'a> From<&'a i32> for Value[src]
impl<'a> From<&'a mut i32> for Value[src]
impl From<u8> for Value[src]
impl<'a> From<&'a u8> for Value[src]
impl<'a> From<&'a mut u8> for Value[src]
impl From<u16> for Value[src]
impl<'a> From<&'a u16> for Value[src]
impl<'a> From<&'a mut u16> for Value[src]
impl From<u32> for Value[src]
impl<'a> From<&'a u32> for Value[src]
impl<'a> From<&'a mut u32> for Value[src]
impl From<f32> for Value[src]
impl<'a> From<&'a f32> for Value[src]
impl<'a> From<&'a mut f32> for Value[src]
impl From<f64> for Value[src]
impl<'a> From<&'a f64> for Value[src]
impl<'a> From<&'a mut f64> for Value[src]
impl From<Symbol> for Value[src]
impl Debug for Value[src]
impl<'de> Deserializer<'de> for Value[src]
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]
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_i8<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>[src]
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_i16<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>[src]
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_i32<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>[src]
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_i64<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>[src]
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_u8<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>[src]
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_u16<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>[src]
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_u32<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>[src]
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_u64<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>[src]
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_f32<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>[src]
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_f64<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>[src]
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_option<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Self::Error>[src]
self,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_enum<V: Visitor<'de>>(
self,
_name: &str,
_variants: &'static [&'static str],
visitor: V
) -> Result<V::Value, Self::Error>[src]
self,
_name: &str,
_variants: &'static [&'static str],
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_newtype_struct<V: Visitor<'de>>(
self,
_name: &'static str,
visitor: V
) -> Result<V::Value, Self::Error>[src]
self,
_name: &'static str,
visitor: V
) -> Result<V::Value, Self::Error>
fn deserialize_bool<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
V: Visitor<'de>,
fn deserialize_char<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
V: Visitor<'de>,
fn deserialize_str<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
V: Visitor<'de>,
fn deserialize_string<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
V: Visitor<'de>,
fn deserialize_unit<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
V: Visitor<'de>,
fn deserialize_seq<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
V: Visitor<'de>,
fn deserialize_bytes<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
V: Visitor<'de>,
fn deserialize_byte_buf<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
V: Visitor<'de>,
fn deserialize_map<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
V: Visitor<'de>,
fn deserialize_unit_struct<V>(
self,
name: &'static str,
visitor: V
) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
self,
name: &'static str,
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>,
self,
name: &'static str,
len: usize,
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>,
self,
name: &'static str,
fields: &'static [&'static str],
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>,
V: Visitor<'de>,
fn deserialize_tuple<V>(
self,
len: usize,
visitor: V
) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
self,
len: usize,
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>,
V: Visitor<'de>,
fn deserialize_i128<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error> where
V: Visitor<'de>, [src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_u128<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error> where
V: Visitor<'de>, [src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error> where
V: Visitor<'de>,
fn is_human_readable(&self) -> bool[src]
impl Serialize for Value[src]
impl<'de> Deserialize<'de> for Value[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>[src]
Auto Trait Implementations
impl Send for Value
impl Unpin for Value
impl Sync for Value
impl RefUnwindSafe for Value
impl UnwindSafe for Value
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,