Struct mach::vm_region::vm_region_submap_info
source · #[repr(C)]pub struct vm_region_submap_info {Show 17 fields
pub protection: vm_prot_t,
pub max_protection: vm_prot_t,
pub inheritance: vm_inherit_t,
pub offset: u32,
pub user_tag: c_uint,
pub pages_resident: c_uint,
pub pages_shared_now_private: c_uint,
pub pages_swapped_out: c_uint,
pub pages_dirtied: c_uint,
pub ref_count: c_uint,
pub shadow_depth: c_ushort,
pub external_pager: c_uchar,
pub share_mode: c_uchar,
pub is_submap: boolean_t,
pub behavior: vm_behavior_t,
pub object_id: vm32_object_id_t,
pub user_wired_count: c_ushort,
}
Fields§
§protection: vm_prot_t
§max_protection: vm_prot_t
§inheritance: vm_inherit_t
§offset: u32
§user_tag: c_uint
§pages_resident: c_uint
§pages_swapped_out: c_uint
§pages_dirtied: c_uint
§ref_count: c_uint
§shadow_depth: c_ushort
§external_pager: c_uchar
§is_submap: boolean_t
§behavior: vm_behavior_t
§object_id: vm32_object_id_t
§user_wired_count: c_ushort
Implementations§
source§impl vm_region_submap_info
impl vm_region_submap_info
pub fn count() -> mach_msg_type_number_t
Trait Implementations§
source§impl Clone for vm_region_submap_info
impl Clone for vm_region_submap_info
source§fn clone(&self) -> vm_region_submap_info
fn clone(&self) -> vm_region_submap_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_submap_info
impl Debug for vm_region_submap_info
source§impl Default for vm_region_submap_info
impl Default for vm_region_submap_info
source§fn default() -> vm_region_submap_info
fn default() -> vm_region_submap_info
Returns the “default value” for a type. Read more
source§impl Hash for vm_region_submap_info
impl Hash for vm_region_submap_info
source§impl Ord for vm_region_submap_info
impl Ord for vm_region_submap_info
source§fn cmp(&self, other: &vm_region_submap_info) -> Ordering
fn cmp(&self, other: &vm_region_submap_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_submap_info> for vm_region_submap_info
impl PartialEq<vm_region_submap_info> for vm_region_submap_info
source§fn eq(&self, other: &vm_region_submap_info) -> bool
fn eq(&self, other: &vm_region_submap_info) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<vm_region_submap_info> for vm_region_submap_info
impl PartialOrd<vm_region_submap_info> for vm_region_submap_info
source§fn partial_cmp(&self, other: &vm_region_submap_info) -> Option<Ordering>
fn partial_cmp(&self, other: &vm_region_submap_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_submap_info
impl Eq for vm_region_submap_info
impl StructuralEq for vm_region_submap_info
impl StructuralPartialEq for vm_region_submap_info
Auto Trait Implementations§
impl RefUnwindSafe for vm_region_submap_info
impl Send for vm_region_submap_info
impl Sync for vm_region_submap_info
impl Unpin for vm_region_submap_info
impl UnwindSafe for vm_region_submap_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