#[repr(C)]
pub struct ArcDynFn1_Layout<Ret, A1> where
    NonNull<c_void>: ReprC,
    unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A1) -> Ret: ReprC,
    unsafe extern "C" fn(env_ptr: NonNull<c_void>): ReprC,
    Option<unsafe extern "C" fn(env_ptr: NonNull<c_void>)>: ReprC,
    Ret: ReprC,
    A1: ReprC,
    Ret: ReprC,
    A1: ReprC
{ pub env_ptr: <NonNull<c_void> as ReprC>::CLayout, pub call: <unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A1) -> Ret as ReprC>::CLayout, pub release: <unsafe extern "C" fn(env_ptr: NonNull<c_void>) as ReprC>::CLayout, pub retain: <Option<unsafe extern "C" fn(env_ptr: NonNull<c_void>)> as ReprC>::CLayout, }
Available on crate feature alloc only.

Fields

env_ptr: <NonNull<c_void> as ReprC>::CLayoutcall: <unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A1) -> Ret as ReprC>::CLayoutrelease: <unsafe extern "C" fn(env_ptr: NonNull<c_void>) as ReprC>::CLayoutretain: <Option<unsafe extern "C" fn(env_ptr: NonNull<c_void>)> as ReprC>::CLayout

Trait Implementations

A short-name description of the type, mainly used to fill “placeholders” such as when monomorphising generics structs or arrays. Read more

Necessary one-time code for CType::c_var() to make sense. Read more

The core method of the trait: it provides the implementation to be used by CType::c_var, by bringing a Formatter in scope. Read more

Convenience function for callers / users of types implementing CType. Read more

Convenience function for callers / users of types implementing CType. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

The CType having the same layout as Self.

Sanity checks that can be performed on an instance of the CType layout. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.