pub struct LabelId(/* private fields */);Expand description
Identifies one instruction-local p-code label.
A streaming emitter cannot know the operation index of a forward label, so
labels reach a PcodeSink symbolically. Identifiers are assigned in the
order the AST defines the labels.
Implementations§
Trait Implementations§
impl Copy for LabelId
impl Eq for LabelId
Source§impl Ord for LabelId
impl Ord for LabelId
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for LabelId
impl PartialOrd for LabelId
impl StructuralPartialEq for LabelId
Auto Trait Implementations§
impl Freeze for LabelId
impl RefUnwindSafe for LabelId
impl Send for LabelId
impl Sync for LabelId
impl Unpin for LabelId
impl UnsafeUnpin 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