Struct cffi::VecMarshaler [−][src]
pub struct VecMarshaler<T>(_);
Trait Implementations
impl<T> FromForeign<Slice<T>, Vec<T, Global>> for VecMarshaler<T>
[src]
impl<T> FromForeign<Slice<T>, Vec<T, Global>> for VecMarshaler<T>
[src]impl<T> InputType for VecMarshaler<T>
[src]
impl<T> InputType for VecMarshaler<T>
[src]type Foreign = Slice<T>
type ForeignTraitObject = ()
impl<T> ReturnType for VecMarshaler<T>
[src]
impl<T> ReturnType for VecMarshaler<T>
[src]type Foreign = Slice<T>
type ForeignTraitObject = ()
fn foreign_default() -> Self::Foreign
[src]
fn foreign_default_trait_object() -> Self::ForeignTraitObject
[src]
impl<T> ToForeign<Vec<T, Global>, Slice<T>> for VecMarshaler<T>
[src]
impl<T> ToForeign<Vec<T, Global>, Slice<T>> for VecMarshaler<T>
[src]type Error = Infallible
fn to_foreign(vec: Vec<T>) -> Result<Slice<T>, Self::Error>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for VecMarshaler<T> where
T: RefUnwindSafe,
impl<T> RefUnwindSafe for VecMarshaler<T> where
T: RefUnwindSafe,
impl<T> Send for VecMarshaler<T> where
T: Send,
impl<T> Send for VecMarshaler<T> where
T: Send,
impl<T> Sync for VecMarshaler<T> where
T: Sync,
impl<T> Sync for VecMarshaler<T> where
T: Sync,
impl<T> Unpin for VecMarshaler<T> where
T: Unpin,
impl<T> Unpin for VecMarshaler<T> where
T: Unpin,
impl<T> UnwindSafe for VecMarshaler<T> where
T: UnwindSafe,
impl<T> UnwindSafe for VecMarshaler<T> where
T: UnwindSafe,