pub enum OffsetMarker {
Block(EntityId),
TableAnchor(EntityId),
}Expand description
Discriminates real blocks from table-anchor sentinels in the
offset index. The wrapped EntityId is the corresponding entity’s
id (a Block id or a Table id).
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for OffsetMarker
impl Clone for OffsetMarker
Source§fn clone(&self) -> OffsetMarker
fn clone(&self) -> OffsetMarker
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OffsetMarker
impl Debug for OffsetMarker
Source§impl Hash for OffsetMarker
impl Hash for OffsetMarker
Source§impl PartialEq for OffsetMarker
impl PartialEq for OffsetMarker
Source§fn eq(&self, other: &OffsetMarker) -> bool
fn eq(&self, other: &OffsetMarker) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OffsetMarker
impl Eq for OffsetMarker
impl StructuralPartialEq for OffsetMarker
Auto Trait Implementations§
impl Freeze for OffsetMarker
impl RefUnwindSafe for OffsetMarker
impl Send for OffsetMarker
impl Sync for OffsetMarker
impl Unpin for OffsetMarker
impl UnsafeUnpin for OffsetMarker
impl UnwindSafe for OffsetMarker
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