pub struct IntrinsicId(/* private fields */);Expand description
A stable-by-name handle into the intrinsic registry.
Cheap to copy, match, and hash in hot pass code; serialized as the intrinsic’s name so the id is never written to disk.
Implementations§
Trait Implementations§
Source§impl Clone for IntrinsicId
impl Clone for IntrinsicId
Source§fn clone(&self) -> IntrinsicId
fn clone(&self) -> IntrinsicId
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 IntrinsicId
Source§impl Debug for IntrinsicId
impl Debug for IntrinsicId
Source§impl<'de> Deserialize<'de> for IntrinsicId
impl<'de> Deserialize<'de> for IntrinsicId
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for IntrinsicId
Source§impl Hash for IntrinsicId
impl Hash for IntrinsicId
Source§impl PartialEq for IntrinsicId
impl PartialEq for IntrinsicId
Source§impl Serialize for IntrinsicId
impl Serialize for IntrinsicId
impl StructuralPartialEq for IntrinsicId
Auto Trait Implementations§
impl Freeze for IntrinsicId
impl RefUnwindSafe for IntrinsicId
impl Send for IntrinsicId
impl Sync for IntrinsicId
impl Unpin for IntrinsicId
impl UnsafeUnpin for IntrinsicId
impl UnwindSafe for IntrinsicId
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