Struct zx::TaskStatsInfo
source · #[repr(C)]pub struct TaskStatsInfo {
pub mem_mapped_bytes: usize,
pub mem_private_bytes: usize,
pub mem_shared_bytes: usize,
pub mem_scaled_shared_bytes: usize,
}
Fields§
§mem_mapped_bytes: usize
§mem_private_bytes: usize
Trait Implementations§
source§impl Clone for TaskStatsInfo
impl Clone for TaskStatsInfo
source§fn clone(&self) -> TaskStatsInfo
fn clone(&self) -> TaskStatsInfo
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 TaskStatsInfo
impl Debug for TaskStatsInfo
source§impl Default for TaskStatsInfo
impl Default for TaskStatsInfo
source§fn default() -> TaskStatsInfo
fn default() -> TaskStatsInfo
Returns the “default value” for a type. Read more
source§impl From<zx_info_task_stats_t> for TaskStatsInfo
impl From<zx_info_task_stats_t> for TaskStatsInfo
source§fn from(_: zx_info_task_stats_t) -> TaskStatsInfo
fn from(_: zx_info_task_stats_t) -> TaskStatsInfo
Converts to this type from the input type.
source§impl FromBytes for TaskStatsInfowhere
usize: FromBytes,
impl FromBytes for TaskStatsInfowhere
usize: FromBytes,
source§impl FromZeros for TaskStatsInfowhere
usize: FromZeros,
impl FromZeros for TaskStatsInfowhere
usize: FromZeros,
source§impl PartialEq for TaskStatsInfo
impl PartialEq for TaskStatsInfo
source§fn eq(&self, other: &TaskStatsInfo) -> bool
fn eq(&self, other: &TaskStatsInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFromBytes for TaskStatsInfowhere
usize: TryFromBytes,
impl TryFromBytes for TaskStatsInfowhere
usize: TryFromBytes,
§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 TaskStatsInfo
impl Eq for TaskStatsInfo
impl Immutable for TaskStatsInfowhere
usize: Immutable,
impl StructuralPartialEq for TaskStatsInfo
Auto Trait Implementations§
impl Freeze for TaskStatsInfo
impl RefUnwindSafe for TaskStatsInfo
impl Send for TaskStatsInfo
impl Sync for TaskStatsInfo
impl Unpin for TaskStatsInfo
impl UnwindSafe for TaskStatsInfo
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)