#[repr(C)]pub struct ObjectInfo {
pub id: ObjID,
pub maps: usize,
pub ties_to: usize,
pub ties_from: usize,
pub life: LifetimeType,
pub backing: BackingType,
}
Expand description
Information about an object, according to the local kernel.
Fields§
§id: ObjID
The ID of this object.
maps: usize
The number of mappings in which this object participates.
ties_to: usize
The number of ties to this object.
ties_from: usize
The number of ties from this object.
life: LifetimeType
The lifetime type of this object.
backing: BackingType
The backing type of this object.
Trait Implementations§
source§impl Clone for ObjectInfo
impl Clone for ObjectInfo
source§fn clone(&self) -> ObjectInfo
fn clone(&self) -> ObjectInfo
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 ObjectInfo
impl Debug for ObjectInfo
source§impl Ord for ObjectInfo
impl Ord for ObjectInfo
source§fn cmp(&self, other: &ObjectInfo) -> Ordering
fn cmp(&self, other: &ObjectInfo) -> 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 ObjectInfo
impl PartialEq for ObjectInfo
source§impl PartialOrd for ObjectInfo
impl PartialOrd for ObjectInfo
impl Copy for ObjectInfo
impl Eq for ObjectInfo
impl StructuralPartialEq for ObjectInfo
Auto Trait Implementations§
impl Freeze for ObjectInfo
impl ObjSafe for ObjectInfo
impl RefUnwindSafe for ObjectInfo
impl Send for ObjectInfo
impl Sync for ObjectInfo
impl Unpin for ObjectInfo
impl UnwindSafe for ObjectInfo
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.