Struct mach::vm_region::vm_region_top_info
source · #[repr(C)]pub struct vm_region_top_info {
pub obj_id: c_uint,
pub ref_count: c_uint,
pub private_pages_resident: c_uint,
pub shared_pages_resident: c_uint,
pub share_mode: c_uchar,
}
Fields§
§obj_id: c_uint
§ref_count: c_uint
§private_pages_resident: c_uint
Implementations§
source§impl vm_region_top_info
impl vm_region_top_info
pub fn count() -> mach_msg_type_number_t
Trait Implementations§
source§impl Clone for vm_region_top_info
impl Clone for vm_region_top_info
source§fn clone(&self) -> vm_region_top_info
fn clone(&self) -> vm_region_top_info
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 vm_region_top_info
impl Debug for vm_region_top_info
source§impl Default for vm_region_top_info
impl Default for vm_region_top_info
source§fn default() -> vm_region_top_info
fn default() -> vm_region_top_info
Returns the “default value” for a type. Read more
source§impl Hash for vm_region_top_info
impl Hash for vm_region_top_info
source§impl Ord for vm_region_top_info
impl Ord for vm_region_top_info
source§fn cmp(&self, other: &vm_region_top_info) -> Ordering
fn cmp(&self, other: &vm_region_top_info) -> 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<vm_region_top_info> for vm_region_top_info
impl PartialEq<vm_region_top_info> for vm_region_top_info
source§fn eq(&self, other: &vm_region_top_info) -> bool
fn eq(&self, other: &vm_region_top_info) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<vm_region_top_info> for vm_region_top_info
impl PartialOrd<vm_region_top_info> for vm_region_top_info
source§fn partial_cmp(&self, other: &vm_region_top_info) -> Option<Ordering>
fn partial_cmp(&self, other: &vm_region_top_info) -> 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 vm_region_top_info
impl Eq for vm_region_top_info
impl StructuralEq for vm_region_top_info
impl StructuralPartialEq for vm_region_top_info
Auto Trait Implementations§
impl RefUnwindSafe for vm_region_top_info
impl Send for vm_region_top_info
impl Sync for vm_region_top_info
impl Unpin for vm_region_top_info
impl UnwindSafe for vm_region_top_info
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