pub struct ValueId(pub u128);Expand description
Unique identifier for a value (instruction result, parameter, constant).
Tuple Fields§
§0: u128Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ValueId
impl<'de> Deserialize<'de> for ValueId
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 ValueId
impl Ord for ValueId
Source§impl PartialOrd for ValueId
impl PartialOrd for ValueId
impl Copy for ValueId
impl Eq for ValueId
impl StructuralPartialEq for ValueId
Auto Trait Implementations§
impl Freeze for ValueId
impl RefUnwindSafe for ValueId
impl Send for ValueId
impl Sync for ValueId
impl Unpin for ValueId
impl UnsafeUnpin for ValueId
impl UnwindSafe for ValueId
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.