pub struct LocalInsnId(/* private fields */);Expand description
Function-local instruction index. Storage detail: indexes the owning
FunctionBody’s instruction arena. Pass composite
InstructionIds around in pass code, not these.
Implementations§
Trait Implementations§
Source§impl Clone for LocalInsnId
impl Clone for LocalInsnId
impl Copy for LocalInsnId
Source§impl Debug for LocalInsnId
impl Debug for LocalInsnId
Source§impl Default for LocalInsnId
impl Default for LocalInsnId
Source§impl<'de> Deserialize<'de> for LocalInsnId
impl<'de> Deserialize<'de> for LocalInsnId
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 LocalInsnId
impl Display for LocalInsnId
impl Eq for LocalInsnId
Source§impl From<LocalInsnId> for usize
impl From<LocalInsnId> for usize
Source§fn from(id: LocalInsnId) -> usize
fn from(id: LocalInsnId) -> usize
Converts to this type from the input type.
Source§impl From<usize> for LocalInsnId
impl From<usize> for LocalInsnId
Source§impl Hash for LocalInsnId
impl Hash for LocalInsnId
impl Identifier for LocalInsnId
Source§impl Ord for LocalInsnId
impl Ord for LocalInsnId
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 PartialEq for LocalInsnId
impl PartialEq for LocalInsnId
Auto Trait Implementations§
impl Freeze for LocalInsnId
impl RefUnwindSafe for LocalInsnId
impl Send for LocalInsnId
impl Sync for LocalInsnId
impl Unpin for LocalInsnId
impl UnsafeUnpin for LocalInsnId
impl UnwindSafe for LocalInsnId
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