[−][src]Trait boa::js::value::FromValue
Conversion to Rust values from Javascript values
Required methods
fn from_value(value: Value) -> Result<Self, &'static str> where
Self: Sized,
Self: Sized,
Convert this value to a Javascript value
Implementations on Foreign Types
impl FromValue for String
[src]
fn from_value(v: Value) -> Result<Self, &'static str>
[src]
impl FromValue for char
[src]
fn from_value(v: Value) -> Result<Self, &'static str>
[src]
impl FromValue for f64
[src]
fn from_value(v: Value) -> Result<Self, &'static str>
[src]
impl FromValue for i32
[src]
fn from_value(v: Value) -> Result<Self, &'static str>
[src]
impl FromValue for usize
[src]
fn from_value(v: Value) -> Result<Self, &'static str>
[src]
impl FromValue for bool
[src]
fn from_value(v: Value) -> Result<Self, &'static str>
[src]
impl<T: FromValue> FromValue for Vec<T>
[src]
fn from_value(v: Value) -> Result<Self, &'static str>
[src]
impl FromValue for JSONValue
[src]
fn from_value(v: Value) -> Result<Self, &'static str>
[src]
impl FromValue for ()
[src]
impl<T: FromValue> FromValue for Option<T>
[src]
fn from_value(value: Value) -> Result<Self, &'static str>
[src]
Implementors
impl FromValue for Object
[src]
fn from_value(v: Value) -> Result<Self, &'static str>
[src]
impl FromValue for Property
[src]
fn from_value(v: Value) -> Result<Self, &'static str>
[src]
Attempt to fetch values "configurable", "enumerable", "writable" from the value, if they're not there default to false