Trait flutter_rust_bridge::rust2dart::IntoDart[][src]

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

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

see: crate::Isolate::post

Required methods

Consumes Self and Performs the conversion.

Implementations on Foreign Types

A workaround to send raw pointers to dart over the port. it will be sent as int64 on 64bit targets, and as int32 on 32bit targets.

Implementors