#[repr(C)]
pub struct Block_byref_extended { pub header: Block_byref_header, pub keep: Option<unsafe extern "C" fn(dst: *mut c_void, src: *mut c_void)>, pub destroy: Option<unsafe extern "C" fn(src: *mut c_void)>, pub layout: *const c_char, }
Available on crate feature apple only.
Expand description

Structure used for on-stack variables that are referenced by blocks.

requires BLOCK_BYREF_LAYOUT_EXTENDED

Fields§

§header: Block_byref_header§keep: Option<unsafe extern "C" fn(dst: *mut c_void, src: *mut c_void)>§destroy: Option<unsafe extern "C" fn(src: *mut c_void)>§layout: *const c_char

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