Struct monitor::MappedObjectAddrs
source · pub struct MappedObjectAddrs {
pub slot: usize,
pub start: usize,
pub meta: usize,
}
Expand description
Contains raw mapping addresses, for use when translating to object handles for the runtime.
Fields§
§slot: usize
§start: usize
§meta: usize
Implementations§
source§impl MappedObjectAddrs
impl MappedObjectAddrs
pub fn new(slot: usize) -> MappedObjectAddrs
Trait Implementations§
source§impl Clone for MappedObjectAddrs
impl Clone for MappedObjectAddrs
source§fn clone(&self) -> MappedObjectAddrs
fn clone(&self) -> MappedObjectAddrs
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 Ord for MappedObjectAddrs
impl Ord for MappedObjectAddrs
source§fn cmp(&self, other: &MappedObjectAddrs) -> Ordering
fn cmp(&self, other: &MappedObjectAddrs) -> 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<MappedObjectAddrs> for MappedObjectAddrs
impl PartialEq<MappedObjectAddrs> for MappedObjectAddrs
source§fn eq(&self, other: &MappedObjectAddrs) -> bool
fn eq(&self, other: &MappedObjectAddrs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<MappedObjectAddrs> for MappedObjectAddrs
impl PartialOrd<MappedObjectAddrs> for MappedObjectAddrs
source§fn partial_cmp(&self, other: &MappedObjectAddrs) -> Option<Ordering>
fn partial_cmp(&self, other: &MappedObjectAddrs) -> 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 MappedObjectAddrs
impl Eq for MappedObjectAddrs
impl StructuralEq for MappedObjectAddrs
impl StructuralPartialEq for MappedObjectAddrs
Auto Trait Implementations§
impl Crossing for MappedObjectAddrs
impl ObjSafe for MappedObjectAddrs
impl RefUnwindSafe for MappedObjectAddrs
impl Send for MappedObjectAddrs
impl Sync for MappedObjectAddrs
impl Unpin for MappedObjectAddrs
impl UnwindSafe for MappedObjectAddrs
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.