pub enum ObjId {
Root,
Id(u64, ActorId, usize),
}
Expand description
An identifier for an object in a document
This can be persisted using to_bytes
and TryFrom<&[u8]>
breaking changes to the
serialization format will be considered breaking changes for this library version.
Variants§
Implementations§
Trait Implementations§
source§impl Ord for ExId
impl Ord for ExId
source§impl PartialEq<ExId> for ExId
impl PartialEq<ExId> for ExId
source§impl PartialOrd<ExId> for ExId
impl PartialOrd<ExId> for ExId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for ExId
Auto Trait Implementations§
impl RefUnwindSafe for ExId
impl Send for ExId
impl Sync for ExId
impl Unpin for ExId
impl UnwindSafe for ExId
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