pub enum RuntimeId {
Class(ClassId),
Function(FunctionId),
Macro(MacroId),
Shape(ShapeId),
Codec(CodecId),
NumberDomain(NumberDomainId),
Site(SiteId),
Value,
}Expand description
Tagged union over the stable id kinds a runtime entity may carry.
Variants§
Class(ClassId)
A class id.
Function(FunctionId)
A function id.
Macro(MacroId)
A macro id.
Shape(ShapeId)
A shape id.
Codec(CodecId)
A codec id.
NumberDomain(NumberDomainId)
A number-domain id.
Site(SiteId)
An opaque site id.
Value
A plain runtime value with no registered id kind.
Trait Implementations§
impl Copy for RuntimeId
impl Eq for RuntimeId
Source§impl Ord for RuntimeId
impl Ord for RuntimeId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for RuntimeId
impl PartialOrd for RuntimeId
impl StructuralPartialEq for RuntimeId
Auto Trait Implementations§
impl Freeze for RuntimeId
impl RefUnwindSafe for RuntimeId
impl Send for RuntimeId
impl Sync for RuntimeId
impl Unpin for RuntimeId
impl UnsafeUnpin for RuntimeId
impl UnwindSafe for RuntimeId
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