Struct walrus::ir::InstrLocId
source · pub struct InstrLocId(/* private fields */);
Expand description
A symbolic original wasm operator source location.
Implementations§
Trait Implementations§
source§impl Clone for InstrLocId
impl Clone for InstrLocId
source§fn clone(&self) -> InstrLocId
fn clone(&self) -> InstrLocId
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InstrLocId
impl Debug for InstrLocId
source§impl Default for InstrLocId
impl Default for InstrLocId
source§impl Ord for InstrLocId
impl Ord for InstrLocId
source§fn cmp(&self, other: &InstrLocId) -> Ordering
fn cmp(&self, other: &InstrLocId) -> Ordering
1.21.0 · 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
source§impl PartialEq for InstrLocId
impl PartialEq for InstrLocId
source§fn eq(&self, other: &InstrLocId) -> bool
fn eq(&self, other: &InstrLocId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for InstrLocId
impl PartialOrd for InstrLocId
source§fn partial_cmp(&self, other: &InstrLocId) -> Option<Ordering>
fn partial_cmp(&self, other: &InstrLocId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for InstrLocId
impl Eq for InstrLocId
impl StructuralEq for InstrLocId
impl StructuralPartialEq for InstrLocId
Auto Trait Implementations§
impl RefUnwindSafe for InstrLocId
impl Send for InstrLocId
impl Sync for InstrLocId
impl Unpin for InstrLocId
impl UnwindSafe for InstrLocId
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.