[][src]Trait allo_isolate::IntoDart

pub trait IntoDart {
    fn into_dart(self) -> DartCObject;
}

A trait to convert between Rust types and Dart Types that could then be sended to the isolate

see: crate::Isolate::post

Required methods

fn into_dart(self) -> DartCObject

Consumes Self and Performs the conversion.

Loading content...

Implementations on Foreign Types

impl IntoDart for u8[src]

impl IntoDart for i8[src]

impl IntoDart for u16[src]

impl IntoDart for i16[src]

impl IntoDart for u32[src]

impl IntoDart for i32[src]

impl IntoDart for u64[src]

impl IntoDart for i64[src]

impl IntoDart for i128[src]

impl IntoDart for u128[src]

impl IntoDart for f32[src]

impl IntoDart for f64[src]

impl IntoDart for bool[src]

impl IntoDart for String[src]

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

impl IntoDart for CString[src]

impl<T> IntoDart for Vec<T> where
    T: IntoDart
[src]

impl<T> IntoDart for Option<T> where
    T: IntoDart
[src]

impl<T, E> IntoDart for Result<T, E> where
    T: IntoDart,
    E: ToString
[src]

Loading content...

Implementors

impl<T> IntoDart for T where
    T: Into<DartCObject>, 
[src]

Loading content...