pub trait IntoDartExceptPrimitive: IntoDart { }
Expand description

A trait that is IntoDart and is also not a primitive type. It is used to avoid the ambiguity of whether types such as Vec<i32> should be converted into [Int32List] or [List<int>]

Implementations on Foreign Types§

source§

impl IntoDartExceptPrimitive for String

source§

impl<T> IntoDartExceptPrimitive for Option<T>where T: IntoDart,

source§

impl<T> IntoDartExceptPrimitive for Vec<T>where T: IntoDartExceptPrimitive,

source§

impl IntoDartExceptPrimitive for &str

source§

impl<T, E> IntoDartExceptPrimitive for Result<T, E>where T: IntoDart, E: ToString,

source§

impl IntoDartExceptPrimitive for CString

Implementors§

source§

impl<T> IntoDartExceptPrimitive for ZeroCopyBuffer<Vec<T>>where T: DartTypedDataTypeTrait,

source§

impl<T> IntoDartExceptPrimitive for Twhere T: IntoDart + Into<DartCObject>,

source§

impl<T, const N: usize> IntoDartExceptPrimitive for ZeroCopyBuffer<[T; N]>where T: DartTypedDataTypeTrait,