Struct cairo_lang_sierra_generator::pre_sierra::LabelId
source · pub struct LabelId(/* private fields */);
Implementations§
source§impl LabelId
impl LabelId
pub fn with_db<'db>(&self, db: &'db dyn SierraGenGroup) -> LabelIdWithDb<'db>
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 for LabelId
impl PartialEq for LabelId
impl Copy for LabelId
impl Eq 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 Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§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.