Union yrs::YBranchIdVariant
source · #[repr(C)]
pub union YBranchIdVariant {
pub clock: u32,
pub name: *const u8,
}
Fields§
§clock: u32
Clock number timestamp when the creator of a nested shared type created it.
name: *const u8
Pointer to UTF-8 encoded string representing root-level type name. This pointer is valid as long as document - in which scope it was created in - was not destroyed. As usually root-level type names are statically allocated strings, it can also be supplied manually from the outside.
Auto Trait Implementations§
impl Freeze for YBranchIdVariant
impl RefUnwindSafe for YBranchIdVariant
impl !Send for YBranchIdVariant
impl !Sync for YBranchIdVariant
impl Unpin for YBranchIdVariant
impl UnwindSafe for YBranchIdVariant
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