#[no_mangle] pub unsafe extern "C" fn ydoc_destroy(value: *mut Doc)
Releases all memory-allocated resources bound to given document.