Struct debris_mir::mir_context::MirContextId
source · pub struct MirContextId {
pub(crate) compilation_id: CompilationId,
pub(crate) id: u32,
}
Fields§
§compilation_id: CompilationId
§id: u32
Trait Implementations§
source§impl Clone for MirContextId
impl Clone for MirContextId
source§fn clone(&self) -> MirContextId
fn clone(&self) -> MirContextId
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 MirContextId
impl Debug for MirContextId
source§impl Hash for MirContextId
impl Hash for MirContextId
source§impl Ord for MirContextId
impl Ord for MirContextId
source§fn cmp(&self, other: &MirContextId) -> Ordering
fn cmp(&self, other: &MirContextId) -> 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 MirContextId
impl PartialEq for MirContextId
source§fn eq(&self, other: &MirContextId) -> bool
fn eq(&self, other: &MirContextId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MirContextId
impl PartialOrd for MirContextId
source§fn partial_cmp(&self, other: &MirContextId) -> Option<Ordering>
fn partial_cmp(&self, other: &MirContextId) -> 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 MirContextId
impl Eq for MirContextId
impl StructuralEq for MirContextId
impl StructuralPartialEq for MirContextId
Auto Trait Implementations§
impl RefUnwindSafe for MirContextId
impl Send for MirContextId
impl Sync for MirContextId
impl Unpin for MirContextId
impl UnwindSafe for MirContextId
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
§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,
§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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.