[][src]Trait boa::js::value::ToValue

pub trait ToValue {
    fn to_value(&self) -> Value;
}

Conversion to Javascript values from Rust values

Required methods

fn to_value(&self) -> Value

Convert this value to a Rust value

Loading content...

Implementations on Foreign Types

impl ToValue for String[src]

impl<'s> ToValue for &'s str[src]

impl ToValue for char[src]

impl ToValue for f64[src]

impl ToValue for i32[src]

impl ToValue for usize[src]

impl ToValue for bool[src]

impl<'s, T: ToValue> ToValue for &'s [T][src]

impl<T: ToValue> ToValue for Vec<T>[src]

impl ToValue for JSONValue[src]

impl ToValue for ()[src]

impl<T: ToValue> ToValue for Option<T>[src]

Loading content...

Implementors

impl ToValue for ObjectData[src]

impl ToValue for Property[src]

impl ToValue for NativeFunctionData[src]

Loading content...