[][src]Trait cffi::ReturnType

pub trait ReturnType {
    type Foreign;
    fn foreign_default() -> Self::Foreign;
}

Associated Types

type Foreign

Loading content...

Required methods

fn foreign_default() -> Self::Foreign

Loading content...

Implementors

impl ReturnType for BoolMarshaler[src]

impl ReturnType for PathBufMarshaler[src]

impl ReturnType for StringMarshaler[src]

impl ReturnType for UnitMarshaler[src]

impl<'_> ReturnType for StrMarshaler<'_>[src]

impl<T> ReturnType for ArcMarshaler<T>[src]

impl<T> ReturnType for BoxMarshaler<T>[src]

impl<T> ReturnType for VecMarshaler<T>[src]

type Foreign = Slice<T>

impl<T> ReturnType for VecRefMarshaler<T>[src]

type Foreign = Slice<T>

impl<T: Copy + Default> ReturnType for CopyMarshaler<T>[src]

type Foreign = T

Loading content...