Struct cairo_lang_sierra_generator::pre_sierra::LabelId
source · pub struct LabelId(_);
Trait Implementations§
source§impl<T: ?Sized + Upcast<dyn SierraGenGroup + 'static>> DebugWithDb<T> for LabelId
impl<T: ?Sized + Upcast<dyn SierraGenGroup + 'static>> DebugWithDb<T> for LabelId
source§impl InternKey for LabelId
impl InternKey for LabelId
source§fn from_intern_id(salsa_id: InternId) -> Self
fn from_intern_id(salsa_id: InternId) -> Self
Create an instance of the intern-key from a
u32
value.source§fn as_intern_id(&self) -> InternId
fn as_intern_id(&self) -> InternId
Extract the
u32
with which the intern-key was created.source§impl PartialEq<LabelId> for LabelId
impl PartialEq<LabelId> for LabelId
impl Copy for LabelId
impl Eq for LabelId
impl StructuralEq for LabelId
impl StructuralPartialEq for LabelId
Auto Trait Implementations§
impl RefUnwindSafe for LabelId
impl Send for LabelId
impl Sync for LabelId
impl Unpin for LabelId
impl UnwindSafe for LabelId
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.