#[repr(C)]pub struct MappingDetails {
pub mmu_flags: VmarFlagsExtended,
pub vmo_koid: Koid,
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: VmarFlagsExtended
§vmo_koid: Koid
§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 MappingDetails
impl Clone for MappingDetails
Source§fn clone(&self) -> MappingDetails
fn clone(&self) -> MappingDetails
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 MappingDetails
impl Debug for MappingDetails
Source§impl Default for MappingDetails
impl Default for MappingDetails
Source§fn default() -> MappingDetails
fn default() -> MappingDetails
Returns the “default value” for a type. Read more
Source§impl From<zx_info_maps_mapping_t> for MappingDetails
impl From<zx_info_maps_mapping_t> for MappingDetails
Source§fn from(info: zx_info_maps_mapping_t) -> MappingDetails
fn from(info: zx_info_maps_mapping_t) -> MappingDetails
Converts to this type from the input type.
Source§impl FromBytes for MappingDetails
impl FromBytes for MappingDetails
Source§impl FromZeros for MappingDetails
impl FromZeros for MappingDetails
Source§impl TryFromBytes for MappingDetails
impl TryFromBytes for MappingDetails
§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 MappingDetails
impl Immutable for MappingDetails
Auto Trait Implementations§
impl Freeze for MappingDetails
impl RefUnwindSafe for MappingDetails
impl Send for MappingDetails
impl Sync for MappingDetails
impl Unpin for MappingDetails
impl UnwindSafe for MappingDetails
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
)