Trait js::front::stdlib::value::FromValue[src]
pub trait FromValue {
fn from_value(value: Value) -> Result<Self, &'static str>;
}Conversion to Rust values from Javascript values
Required Methods
fn from_value(value: Value) -> Result<Self, &'static str>
Convert this value to a Javascript value
Implementors
impl FromValue for Propertyimpl FromValue for Valueimpl FromValue for Stringimpl FromValue for charimpl FromValue for f64impl FromValue for i32impl FromValue for boolimpl<T: FromValue> FromValue for Vec<T>impl FromValue for ObjectDataimpl FromValue for Jsonimpl FromValue for ()impl<T: FromValue> FromValue for Option<T>