pub struct ObjId(pub u128);Expand description
Unique identifier for a memory object (allocation site).
Tuple Fields§
§0: u128Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ObjId
impl<'de> Deserialize<'de> for ObjId
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for ObjId
impl Ord for ObjId
Source§impl PartialOrd for ObjId
impl PartialOrd for ObjId
impl Copy for ObjId
impl Eq for ObjId
impl StructuralPartialEq for ObjId
Auto Trait Implementations§
impl Freeze for ObjId
impl RefUnwindSafe for ObjId
impl Send for ObjId
impl Sync for ObjId
impl Unpin for ObjId
impl UnsafeUnpin for ObjId
impl UnwindSafe for ObjId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> SafLogValue for Twhere
T: EntityId,
impl<T> SafLogValue for Twhere
T: EntityId,
Source§fn fmt_saf_log(&self, buf: &mut String)
fn fmt_saf_log(&self, buf: &mut String)
Append the DSL-formatted representation to
buf.Source§fn to_saf_log(&self) -> String
fn to_saf_log(&self) -> String
Convenience: format to a new
String.