Struct block_sys::Block_descriptor [−][src]
#[repr(C)]pub struct Block_descriptor {
pub header: Block_descriptor_header,
pub copy: Option<unsafe extern "C" fn(dst: *mut Block_byref, src: *mut Block_byref)>,
pub dispose: Option<unsafe extern "C" fn(src: *mut Block_byref)>,
}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 Block_byref, src: *mut Block_byref)>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 Block_byref)>Dispose function, generated by the compiler to help copy the block if it contains nontrivial destructors.