Trait safer_ffi::layout::CType

source ·
pub unsafe trait CType: Sized + Copy {
    type OPAQUE_KIND: T;

    // Required methods
    fn short_name() -> String;
    fn define_self__impl(
        language: &dyn HeaderLanguage,
        definer: &mut dyn Definer
    ) -> Result<()>;

    // Provided methods
    fn zeroed() -> Self { ... }
    fn define_self(
        language: &dyn HeaderLanguage,
        definer: &mut dyn Definer
    ) -> Result<()> { ... }
    fn name(_language: &dyn HeaderLanguage) -> String { ... }
    fn name_wrapping_var(
        language: &dyn HeaderLanguage,
        var_name: &str
    ) -> String { ... }
    fn csharp_marshaler() -> Option<String> { ... }
}
Expand description

Safety (non-exhaustive list at the moment):

  • ::core::mem::zeroed::<Self>() must be sound to use.

Required Associated Types§

Required Methods§

source

fn short_name() -> String

source

fn define_self__impl( language: &dyn HeaderLanguage, definer: &mut dyn Definer ) -> Result<()>

Provided Methods§

source

fn zeroed() -> Self

source

fn define_self( language: &dyn HeaderLanguage, definer: &mut dyn Definer ) -> Result<()>

source

fn name(_language: &dyn HeaderLanguage) -> String

source

fn name_wrapping_var(language: &dyn HeaderLanguage, var_name: &str) -> String

source

fn csharp_marshaler() -> Option<String>

Optional marshaler attached to the type (e.g., [MarshalAs(UnmanagedType.FunctionPtr)])

Object Safety§

This trait is not object safe.

Implementors§

source§

impl CType for PollFuture_Layout

Available on crate feature dyn-traits only.
source§

impl<'__usability> CType for DropGlueVTable_Layout<'__usability>
where unsafe extern "C" fn(_: NonNullOwned<ErasedTy>): ConcreteReprC, PhantomData<*mut (<u8 as IdentityIgnoring<'__usability>>::ItSelf,)>: ConcreteReprC,

Available on crate feature dyn-traits only.
source§

impl<'__usability> CType for StaticDropGlueVTable_Layout<'__usability>
where unsafe extern "C" fn(_: NonNullOwned<ErasedTy>): ConcreteReprC, unsafe extern "C" fn(_: NonNullRef<ErasedTy>) -> NonNullOwned<ErasedTy>: ConcreteReprC, PhantomData<*mut (<u8 as IdentityIgnoring<'__usability>>::ItSelf,)>: ConcreteReprC,

Available on crate feature dyn-traits only.
source§

impl<'__usability> CType for FfiFutureExecutorVTable_Layout<'__usability>
where unsafe extern "C" fn(_: NonNullOwned<ErasedTy>): ConcreteReprC, unsafe extern "C" fn(_: NonNullRef<ErasedTy>) -> NonNullOwned<ErasedTy>: ConcreteReprC, unsafe extern "C" fn(_: NonNullRef<ErasedTy>, _: CLayoutOf<VirtualPtr<dyn Send + FfiFuture + 'static>>) -> CLayoutOf<VirtualPtr<dyn Send + FfiFuture + 'static>>: ConcreteReprC, unsafe extern "C" fn(_: NonNullRef<ErasedTy>, _: CLayoutOf<Box<dyn Send + FnMut() + 'static>>) -> CLayoutOf<VirtualPtr<dyn Send + FfiFuture + 'static>>: ConcreteReprC, unsafe extern "C" fn(_: NonNullRef<ErasedTy>, _: CLayoutOf<VirtualPtr<dyn FfiFuture + 'static>>) -> CLayoutOf<()>: ConcreteReprC, unsafe extern "C" fn(_: NonNullRef<ErasedTy>) -> CLayoutOf<VirtualPtr<dyn DropGlue + 'static>>: ConcreteReprC, PhantomData<*mut (<u8 as IdentityIgnoring<'__usability>>::ItSelf,)>: ConcreteReprC,

Available on crate feature dyn-traits only.
source§

impl<'__usability> CType for FfiFutureVTable_Layout<'__usability>
where unsafe extern "C" fn(_: NonNullOwned<ErasedTy>): ConcreteReprC, unsafe extern "C" fn(_: NonNullMut<ErasedTy>, _: CLayoutOf<&'static mut Context<'static>>) -> CLayoutOf<PollFuture>: ConcreteReprC, PhantomData<*mut (<u8 as IdentityIgnoring<'__usability>>::ItSelf,)>: ConcreteReprC,

Available on crate feature dyn-traits only.
source§

impl<'lt, Ret> CType for RefDynFnMut0_Layout<'lt, Ret>
where Ret: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>) -> Ret: ConcreteReprC, PhantomData<&'lt ()>: ConcreteReprC,

source§

impl<'lt, Ret, A1> CType for RefDynFnMut1_Layout<'lt, Ret, A1>
where Ret: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A1) -> Ret: ConcreteReprC, PhantomData<&'lt ()>: ConcreteReprC,

source§

impl<'lt, Ret, A2, A1> CType for RefDynFnMut2_Layout<'lt, Ret, A2, A1>
where Ret: ReprC + ReprC, A2: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A2, _: A1) -> Ret: ConcreteReprC, PhantomData<&'lt ()>: ConcreteReprC,

source§

impl<'lt, Ret, A3, A2, A1> CType for RefDynFnMut3_Layout<'lt, Ret, A3, A2, A1>
where Ret: ReprC + ReprC, A3: ReprC + ReprC, A2: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A3, _: A2, _: A1) -> Ret: ConcreteReprC, PhantomData<&'lt ()>: ConcreteReprC,

source§

impl<'lt, Ret, A4, A3, A2, A1> CType for RefDynFnMut4_Layout<'lt, Ret, A4, A3, A2, A1>
where Ret: ReprC + ReprC, A4: ReprC + ReprC, A3: ReprC + ReprC, A2: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A4, _: A3, _: A2, _: A1) -> Ret: ConcreteReprC, PhantomData<&'lt ()>: ConcreteReprC,

source§

impl<'lt, Ret, A5, A4, A3, A2, A1> CType for RefDynFnMut5_Layout<'lt, Ret, A5, A4, A3, A2, A1>
where Ret: ReprC + ReprC, A5: ReprC + ReprC, A4: ReprC + ReprC, A3: ReprC + ReprC, A2: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A5, _: A4, _: A3, _: A2, _: A1) -> Ret: ConcreteReprC, PhantomData<&'lt ()>: ConcreteReprC,

source§

impl<'lt, Ret, A6, A5, A4, A3, A2, A1> CType for RefDynFnMut6_Layout<'lt, Ret, A6, A5, A4, A3, A2, A1>
where Ret: ReprC + ReprC, A6: ReprC + ReprC, A5: ReprC + ReprC, A4: ReprC + ReprC, A3: ReprC + ReprC, A2: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A6, _: A5, _: A4, _: A3, _: A2, _: A1) -> Ret: ConcreteReprC, PhantomData<&'lt ()>: ConcreteReprC,

source§

impl<'lt, Ret, A7, A6, A5, A4, A3, A2, A1> CType for RefDynFnMut7_Layout<'lt, Ret, A7, A6, A5, A4, A3, A2, A1>
where Ret: ReprC + ReprC, A7: ReprC + ReprC, A6: ReprC + ReprC, A5: ReprC + ReprC, A4: ReprC + ReprC, A3: ReprC + ReprC, A2: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A7, _: A6, _: A5, _: A4, _: A3, _: A2, _: A1) -> Ret: ConcreteReprC, PhantomData<&'lt ()>: ConcreteReprC,

source§

impl<'lt, Ret, A8, A7, A6, A5, A4, A3, A2, A1> CType for RefDynFnMut8_Layout<'lt, Ret, A8, A7, A6, A5, A4, A3, A2, A1>
where Ret: ReprC + ReprC, A8: ReprC + ReprC, A7: ReprC + ReprC, A6: ReprC + ReprC, A5: ReprC + ReprC, A4: ReprC + ReprC, A3: ReprC + ReprC, A2: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A8, _: A7, _: A6, _: A5, _: A4, _: A3, _: A2, _: A1) -> Ret: ConcreteReprC, PhantomData<&'lt ()>: ConcreteReprC,

source§

impl<'lt, Ret, A9, A8, A7, A6, A5, A4, A3, A2, A1> CType for RefDynFnMut9_Layout<'lt, Ret, A9, A8, A7, A6, A5, A4, A3, A2, A1>
where Ret: ReprC + ReprC, A9: ReprC + ReprC, A8: ReprC + ReprC, A7: ReprC + ReprC, A6: ReprC + ReprC, A5: ReprC + ReprC, A4: ReprC + ReprC, A3: ReprC + ReprC, A2: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A9, _: A8, _: A7, _: A6, _: A5, _: A4, _: A3, _: A2, _: A1) -> Ret: ConcreteReprC, PhantomData<&'lt ()>: ConcreteReprC,

source§

impl<'lt, T> CType for slice_mut_Layout<'lt, T>

source§

impl<'lt, T> CType for slice_ref_Layout<'lt, T>

source§

impl<Ret> CType for ArcDynFn0_Layout<Ret>
where Ret: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>) -> Ret: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>): ConcreteReprC, Option<unsafe extern "C" fn(env_ptr: NonNull<c_void>)>: ConcreteReprC,

Available on crate feature alloc only.
source§

impl<Ret> CType for BoxDynFnMut0_Layout<Ret>
where Ret: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>) -> Ret: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>): ConcreteReprC,

Available on crate feature alloc only.
source§

impl<Ret, A1> CType for ArcDynFn1_Layout<Ret, A1>
where Ret: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A1) -> Ret: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>): ConcreteReprC, Option<unsafe extern "C" fn(env_ptr: NonNull<c_void>)>: ConcreteReprC,

Available on crate feature alloc only.
source§

impl<Ret, A1> CType for BoxDynFnMut1_Layout<Ret, A1>
where Ret: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A1) -> Ret: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>): ConcreteReprC,

Available on crate feature alloc only.
source§

impl<Ret, A2, A1> CType for ArcDynFn2_Layout<Ret, A2, A1>
where Ret: ReprC + ReprC, A2: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A2, _: A1) -> Ret: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>): ConcreteReprC, Option<unsafe extern "C" fn(env_ptr: NonNull<c_void>)>: ConcreteReprC,

Available on crate feature alloc only.
source§

impl<Ret, A2, A1> CType for BoxDynFnMut2_Layout<Ret, A2, A1>
where Ret: ReprC + ReprC, A2: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A2, _: A1) -> Ret: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>): ConcreteReprC,

Available on crate feature alloc only.
source§

impl<Ret, A3, A2, A1> CType for ArcDynFn3_Layout<Ret, A3, A2, A1>
where Ret: ReprC + ReprC, A3: ReprC + ReprC, A2: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A3, _: A2, _: A1) -> Ret: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>): ConcreteReprC, Option<unsafe extern "C" fn(env_ptr: NonNull<c_void>)>: ConcreteReprC,

Available on crate feature alloc only.
source§

impl<Ret, A3, A2, A1> CType for BoxDynFnMut3_Layout<Ret, A3, A2, A1>
where Ret: ReprC + ReprC, A3: ReprC + ReprC, A2: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A3, _: A2, _: A1) -> Ret: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>): ConcreteReprC,

Available on crate feature alloc only.
source§

impl<Ret, A4, A3, A2, A1> CType for ArcDynFn4_Layout<Ret, A4, A3, A2, A1>
where Ret: ReprC + ReprC, A4: ReprC + ReprC, A3: ReprC + ReprC, A2: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A4, _: A3, _: A2, _: A1) -> Ret: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>): ConcreteReprC, Option<unsafe extern "C" fn(env_ptr: NonNull<c_void>)>: ConcreteReprC,

Available on crate feature alloc only.
source§

impl<Ret, A4, A3, A2, A1> CType for BoxDynFnMut4_Layout<Ret, A4, A3, A2, A1>
where Ret: ReprC + ReprC, A4: ReprC + ReprC, A3: ReprC + ReprC, A2: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A4, _: A3, _: A2, _: A1) -> Ret: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>): ConcreteReprC,

Available on crate feature alloc only.
source§

impl<Ret, A5, A4, A3, A2, A1> CType for ArcDynFn5_Layout<Ret, A5, A4, A3, A2, A1>
where Ret: ReprC + ReprC, A5: ReprC + ReprC, A4: ReprC + ReprC, A3: ReprC + ReprC, A2: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A5, _: A4, _: A3, _: A2, _: A1) -> Ret: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>): ConcreteReprC, Option<unsafe extern "C" fn(env_ptr: NonNull<c_void>)>: ConcreteReprC,

Available on crate feature alloc only.
source§

impl<Ret, A5, A4, A3, A2, A1> CType for BoxDynFnMut5_Layout<Ret, A5, A4, A3, A2, A1>
where Ret: ReprC + ReprC, A5: ReprC + ReprC, A4: ReprC + ReprC, A3: ReprC + ReprC, A2: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A5, _: A4, _: A3, _: A2, _: A1) -> Ret: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>): ConcreteReprC,

Available on crate feature alloc only.
source§

impl<Ret, A6, A5, A4, A3, A2, A1> CType for ArcDynFn6_Layout<Ret, A6, A5, A4, A3, A2, A1>
where Ret: ReprC + ReprC, A6: ReprC + ReprC, A5: ReprC + ReprC, A4: ReprC + ReprC, A3: ReprC + ReprC, A2: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A6, _: A5, _: A4, _: A3, _: A2, _: A1) -> Ret: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>): ConcreteReprC, Option<unsafe extern "C" fn(env_ptr: NonNull<c_void>)>: ConcreteReprC,

Available on crate feature alloc only.
source§

impl<Ret, A6, A5, A4, A3, A2, A1> CType for BoxDynFnMut6_Layout<Ret, A6, A5, A4, A3, A2, A1>
where Ret: ReprC + ReprC, A6: ReprC + ReprC, A5: ReprC + ReprC, A4: ReprC + ReprC, A3: ReprC + ReprC, A2: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A6, _: A5, _: A4, _: A3, _: A2, _: A1) -> Ret: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>): ConcreteReprC,

Available on crate feature alloc only.
source§

impl<Ret, A7, A6, A5, A4, A3, A2, A1> CType for ArcDynFn7_Layout<Ret, A7, A6, A5, A4, A3, A2, A1>
where Ret: ReprC + ReprC, A7: ReprC + ReprC, A6: ReprC + ReprC, A5: ReprC + ReprC, A4: ReprC + ReprC, A3: ReprC + ReprC, A2: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A7, _: A6, _: A5, _: A4, _: A3, _: A2, _: A1) -> Ret: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>): ConcreteReprC, Option<unsafe extern "C" fn(env_ptr: NonNull<c_void>)>: ConcreteReprC,

Available on crate feature alloc only.
source§

impl<Ret, A7, A6, A5, A4, A3, A2, A1> CType for BoxDynFnMut7_Layout<Ret, A7, A6, A5, A4, A3, A2, A1>
where Ret: ReprC + ReprC, A7: ReprC + ReprC, A6: ReprC + ReprC, A5: ReprC + ReprC, A4: ReprC + ReprC, A3: ReprC + ReprC, A2: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A7, _: A6, _: A5, _: A4, _: A3, _: A2, _: A1) -> Ret: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>): ConcreteReprC,

Available on crate feature alloc only.
source§

impl<Ret, A8, A7, A6, A5, A4, A3, A2, A1> CType for ArcDynFn8_Layout<Ret, A8, A7, A6, A5, A4, A3, A2, A1>
where Ret: ReprC + ReprC, A8: ReprC + ReprC, A7: ReprC + ReprC, A6: ReprC + ReprC, A5: ReprC + ReprC, A4: ReprC + ReprC, A3: ReprC + ReprC, A2: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A8, _: A7, _: A6, _: A5, _: A4, _: A3, _: A2, _: A1) -> Ret: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>): ConcreteReprC, Option<unsafe extern "C" fn(env_ptr: NonNull<c_void>)>: ConcreteReprC,

Available on crate feature alloc only.
source§

impl<Ret, A8, A7, A6, A5, A4, A3, A2, A1> CType for BoxDynFnMut8_Layout<Ret, A8, A7, A6, A5, A4, A3, A2, A1>
where Ret: ReprC + ReprC, A8: ReprC + ReprC, A7: ReprC + ReprC, A6: ReprC + ReprC, A5: ReprC + ReprC, A4: ReprC + ReprC, A3: ReprC + ReprC, A2: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A8, _: A7, _: A6, _: A5, _: A4, _: A3, _: A2, _: A1) -> Ret: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>): ConcreteReprC,

Available on crate feature alloc only.
source§

impl<Ret, A9, A8, A7, A6, A5, A4, A3, A2, A1> CType for ArcDynFn9_Layout<Ret, A9, A8, A7, A6, A5, A4, A3, A2, A1>
where Ret: ReprC + ReprC, A9: ReprC + ReprC, A8: ReprC + ReprC, A7: ReprC + ReprC, A6: ReprC + ReprC, A5: ReprC + ReprC, A4: ReprC + ReprC, A3: ReprC + ReprC, A2: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A9, _: A8, _: A7, _: A6, _: A5, _: A4, _: A3, _: A2, _: A1) -> Ret: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>): ConcreteReprC, Option<unsafe extern "C" fn(env_ptr: NonNull<c_void>)>: ConcreteReprC,

Available on crate feature alloc only.
source§

impl<Ret, A9, A8, A7, A6, A5, A4, A3, A2, A1> CType for BoxDynFnMut9_Layout<Ret, A9, A8, A7, A6, A5, A4, A3, A2, A1>
where Ret: ReprC + ReprC, A9: ReprC + ReprC, A8: ReprC + ReprC, A7: ReprC + ReprC, A6: ReprC + ReprC, A5: ReprC + ReprC, A4: ReprC + ReprC, A3: ReprC + ReprC, A2: ReprC + ReprC, A1: ReprC + ReprC, NonNull<c_void>: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A9, _: A8, _: A7, _: A6, _: A5, _: A4, _: A3, _: A2, _: A1) -> Ret: ConcreteReprC, unsafe extern "C" fn(env_ptr: NonNull<c_void>): ConcreteReprC,

Available on crate feature alloc only.
source§

impl<T0> CType for Tuple1_Layout<T0>
where T0: ReprC + ConcreteReprC,

source§

impl<T0, T1> CType for Tuple2_Layout<T0, T1>

source§

impl<T0, T1, T2> CType for Tuple3_Layout<T0, T1, T2>

source§

impl<T0, T1, T2, T3> CType for Tuple4_Layout<T0, T1, T2, T3>

source§

impl<T0, T1, T2, T3, T4> CType for Tuple5_Layout<T0, T1, T2, T3, T4>

source§

impl<T0, T1, T2, T3, T4, T5> CType for Tuple6_Layout<T0, T1, T2, T3, T4, T5>

source§

impl<T> CType for slice_boxed_Layout<T>

source§

impl<T> CType for slice_raw_Layout<T>

source§

impl<T> CType for Vec_Layout<T>

Available on crate feature alloc only.
source§

impl<T: LegacyCType> CType for T