#[repr(C)]
pub struct Block_descriptor { pub header: Block_descriptor_header, pub copy: Option<unsafe extern "C" fn(dst: *mut c_void, src: *mut c_void)>, pub dispose: Option<unsafe extern "C" fn(src: *mut c_void)>, }
Expand description

Block descriptor that contains copy and dispose operations.

Requires BLOCK_HAS_COPY_DISPOSE

Fields

header: Block_descriptor_headercopy: Option<unsafe extern "C" fn(dst: *mut c_void, src: *mut c_void)>

Copy function, generated by the compiler to help copy the block if it contains nontrivial copy operations.

dispose: Option<unsafe extern "C" fn(src: *mut c_void)>

Dispose function, generated by the compiler to help copy the block if it contains nontrivial destructors.

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.