Type Alias CSTL_Copy

Source
pub type CSTL_Copy = Option<unsafe extern "C" fn(first: *const c_void, last: *const c_void, dest: *mut c_void)>;
Expand description

Copy range.

Required to write (last - first) / size objects to uninitialized memory at dest so that each of them is equal to the corresponding object in the range [first, last).

Note that a CSTL_Copy function satisfies the requirements of CSTL_Move.

Aliased Type§

enum CSTL_Copy {
    None,
    Some(unsafe extern "C" fn(*const c_void, *const c_void, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const c_void, *const c_void, *mut c_void))

Some value of type T.