Trait ads_apriltag::ArrayDealloc
source · pub trait ArrayDealloc {
// Required method
unsafe fn array_dealloc(zarray_ptr: *mut zarray);
}
Expand description
Associates array pointer destroy function to a Zarray.
Required Methods§
sourceunsafe fn array_dealloc(zarray_ptr: *mut zarray)
unsafe fn array_dealloc(zarray_ptr: *mut zarray)
Call apriltag_x_destroy()
for the correct array type.
§Safety
This is unsafe because it take a pointer and destroys it. The caller must ensure it is a valid pointer.
Object Safety§
This trait is not object safe.