#[no_mangle] pub extern "C" fn ydoc_new() -> *mut Doc
Creates a new Doc instance with a randomized unique client identifier.
Use ydoc_destroy in order to release created Doc resources.