ecs_term_copy

Function ecs_term_copy 

Source
pub unsafe extern "C" fn ecs_term_copy(
    src: *const ecs_term_t,
) -> ecs_term_t
Expand description

Copy resources of a term to another term. This operation copies one term to another term. If the source term contains allocated resources (such as identifiers), they will be duplicated so that no memory is shared between the terms.

@param src The term to copy from. @return The destination term.