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