Skip to main content

tract_fact_clone

Function tract_fact_clone 

Source
pub unsafe extern "C" fn tract_fact_clone(
    fact: *const TractFact,
    clone: *mut *mut TractFact,
) -> TRACT_RESULT
Expand description

Clone a Fact, creating an independent copy.

The returned fact must be destroyed by tract_fact_destroy.