[][src]Trait babylon::ToJSValue

pub trait ToJSValue {
    fn to_js_value(&self) -> f64;
fn to_js_type(&self) -> i32; }

Required methods

fn to_js_value(&self) -> f64

fn to_js_type(&self) -> i32

Loading content...

Implementations on Foreign Types

impl<'_> ToJSValue for &'_ Vec<usize>[src]

impl ToJSValue for u32[src]

impl<'_> ToJSValue for &'_ Vec<i16>[src]

impl ToJSValue for u16[src]

impl<'_> ToJSValue for &'_ Vec<f32>[src]

impl ToJSValue for i32[src]

impl ToJSValue for bool[src]

impl ToJSValue for f32[src]

impl<'_> ToJSValue for &'_ Vec<f64>[src]

impl<'_> ToJSValue for &'_ String[src]

impl<'_> ToJSValue for &'_ str[src]

impl ToJSValue for u8[src]

impl<'_> ToJSValue for &'_ Vec<u16>[src]

impl<'_> ToJSValue for &'_ Vec<u32>[src]

impl ToJSValue for f64[src]

impl ToJSValue for usize[src]

impl<'_> ToJSValue for &'_ Vec<i32>[src]

impl<'_> ToJSValue for &'_ Vec<i8>[src]

impl<'_> ToJSValue for &'_ Vec<u8>[src]

impl ToJSValue for i8[src]

impl ToJSValue for i16[src]

Loading content...

Implementors

impl ToJSValue for JSFunction[src]

impl ToJSValue for JSObject[src]

impl ToJSValue for WasmMemory[src]

impl<'_> ToJSValue for &'_ JSObject[src]

Loading content...