ecs_copy_t

Type Alias ecs_copy_t 

Source
pub type ecs_copy_t = Option<unsafe extern "C" fn(dst_ptr: *mut c_void, src_ptr: *const c_void, count: i32, type_info: *const ecs_type_info_t)>;
Expand description

Copy is invoked when a component is copied into another component.

Aliased Type§

pub enum ecs_copy_t {
    None,
    Some(unsafe extern "C" fn(*mut c_void, *const c_void, i32, *const ecs_type_info_t)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.