Struct block_sys::Block_byref [−][src]
#[repr(C)]pub struct Block_byref {
pub header: Block_byref_header,
pub keep: Option<unsafe extern "C" fn(dst: *mut Block_byref_header, src: *mut Block_byref_header)>,
pub destroy: Option<unsafe extern "C" fn(src: *mut Block_byref_header)>,
}Expand description
Structure used for on-stack variables that are referenced by blocks.
requires BLOCK_BYREF_HAS_COPY_DISPOSE
Fields
header: Block_byref_headerkeep: Option<unsafe extern "C" fn(dst: *mut Block_byref_header, src: *mut Block_byref_header)>Copy function.
destroy: Option<unsafe extern "C" fn(src: *mut Block_byref_header)>Dispose function.
