[][src]Trait cffi::ReturnType

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

Associated Types

Loading content...

Required methods

pub fn foreign_default() -> Self::Foreign[src]

Loading content...

Implementors

impl ReturnType for BoolMarshaler[src]

type Foreign = u8

impl ReturnType for PathBufMarshaler[src]

type Foreign = Slice<u8>

impl ReturnType for StringMarshaler[src]

type Foreign = Slice<u8>

impl ReturnType for UnitMarshaler[src]

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

type Foreign = Slice<u8>

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...