Type Alias CSTL_Fill

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

Fill range.

Required to write (last - first) / size copies of instance to uninitialized memory at [first, last) so that each of them is equal to the corresponding instance.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.