#[repr(C)]pub struct zx_info_maps_mapping_t {
pub mmu_flags: zx_vm_option_t,
pub vmo_koid: zx_koid_t,
pub vmo_offset: u64,
pub committed_bytes: usize,
pub populated_bytes: usize,
pub committed_private_bytes: usize,
pub populated_private_bytes: usize,
pub committed_scaled_bytes: usize,
pub populated_scaled_bytes: usize,
pub committed_fractional_scaled_bytes: u64,
pub populated_fractional_scaled_bytes: u64,
/* private fields */
}
Fields§
§mmu_flags: zx_vm_option_t
§vmo_koid: zx_koid_t
§vmo_offset: u64
§committed_bytes: usize
§populated_bytes: usize
§committed_private_bytes: usize
§populated_private_bytes: usize
§committed_scaled_bytes: usize
§populated_scaled_bytes: usize
§committed_fractional_scaled_bytes: u64
§populated_fractional_scaled_bytes: u64
Trait Implementations§
Source§impl Clone for zx_info_maps_mapping_t
impl Clone for zx_info_maps_mapping_t
Source§fn clone(&self) -> zx_info_maps_mapping_t
fn clone(&self) -> zx_info_maps_mapping_t
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 zx_info_maps_mapping_t
impl Debug for zx_info_maps_mapping_t
Source§impl Default for zx_info_maps_mapping_t
impl Default for zx_info_maps_mapping_t
Source§fn default() -> zx_info_maps_mapping_t
fn default() -> zx_info_maps_mapping_t
Returns the “default value” for a type. Read more
Source§impl FromBytes for zx_info_maps_mapping_t
impl FromBytes for zx_info_maps_mapping_t
Source§impl FromZeros for zx_info_maps_mapping_t
impl FromZeros for zx_info_maps_mapping_t
Source§impl IntoBytes for zx_info_maps_mapping_twhere
zx_vm_option_t: IntoBytes,
[PadByte; 4]: IntoBytes,
zx_koid_t: IntoBytes,
u64: IntoBytes,
usize: IntoBytes,
(): PaddingFree<zx_info_maps_mapping_t, { _ }>,
impl IntoBytes for zx_info_maps_mapping_twhere
zx_vm_option_t: IntoBytes,
[PadByte; 4]: IntoBytes,
zx_koid_t: IntoBytes,
u64: IntoBytes,
usize: IntoBytes,
(): PaddingFree<zx_info_maps_mapping_t, { _ }>,
§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl PartialEq for zx_info_maps_mapping_t
impl PartialEq for zx_info_maps_mapping_t
Source§impl TryFromBytes for zx_info_maps_mapping_t
impl TryFromBytes for zx_info_maps_mapping_t
§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for zx_info_maps_mapping_t
impl Eq for zx_info_maps_mapping_t
impl Immutable for zx_info_maps_mapping_t
impl StructuralPartialEq for zx_info_maps_mapping_t
Auto Trait Implementations§
impl Freeze for zx_info_maps_mapping_t
impl RefUnwindSafe for zx_info_maps_mapping_t
impl Send for zx_info_maps_mapping_t
impl Sync for zx_info_maps_mapping_t
impl Unpin for zx_info_maps_mapping_t
impl UnwindSafe for zx_info_maps_mapping_t
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
)