#[repr(C)]pub struct YRootRef {
pub name: *mut c_char,
pub branch: *mut Branch,
}Expand description
A root-level shared type of a document: its name paired with a pointer to its branch.
Returned by ytransaction_root_refs, released via yroot_refs_destroy.
Fields§
§name: *mut c_charNull-terminated UTF-8 name of a root-level type. Owned by the array it was returned in.
branch: *mut BranchBranch of a root-level type. Its lifecycle is bound to the document, it must not be released.
Auto Trait Implementations§
impl !RefUnwindSafe for YRootRef
impl !Send for YRootRef
impl !Sync for YRootRef
impl !UnwindSafe for YRootRef
impl Forget for YRootRef
impl Freeze for YRootRef
impl Move for YRootRef
impl Unpin for YRootRef
impl UnsafeUnpin for YRootRef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more