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