pub struct StateObjectId(pub u32);Expand description
Dense source-independent identity of one flattened state object.
Frontends assign this identity during design projection. Source variable IDs must not cross into SIR optimization, layout, or backend code.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl Clone for StateObjectId
impl Clone for StateObjectId
Source§fn clone(&self) -> StateObjectId
fn clone(&self) -> StateObjectId
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 moreimpl Copy for StateObjectId
Source§impl Debug for StateObjectId
impl Debug for StateObjectId
Source§impl Default for StateObjectId
impl Default for StateObjectId
Source§fn default() -> StateObjectId
fn default() -> StateObjectId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StateObjectId
impl<'de> Deserialize<'de> for StateObjectId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for StateObjectId
impl Display for StateObjectId
impl Eq for StateObjectId
Source§impl Hash for StateObjectId
impl Hash for StateObjectId
Source§impl Ord for StateObjectId
impl Ord for StateObjectId
Source§fn cmp(&self, other: &StateObjectId) -> Ordering
fn cmp(&self, other: &StateObjectId) -> Ordering
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 PartialEq for StateObjectId
impl PartialEq for StateObjectId
Source§impl PartialOrd for StateObjectId
impl PartialOrd for StateObjectId
Source§impl Serialize for StateObjectId
impl Serialize for StateObjectId
impl StructuralPartialEq for StateObjectId
Auto Trait Implementations§
impl Freeze for StateObjectId
impl RefUnwindSafe for StateObjectId
impl Send for StateObjectId
impl Sync for StateObjectId
impl Unpin for StateObjectId
impl UnsafeUnpin for StateObjectId
impl UnwindSafe for StateObjectId
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