#[repr(C)]pub struct MapInfo {
pub name: Name,
pub base: usize,
pub size: usize,
pub depth: usize,
/* private fields */
}
Expand description
Ergonomic wrapper around zx_info_maps_t
.
Fields§
§name: Name
§base: usize
§size: usize
§depth: usize
Implementations§
Trait Implementations§
Source§impl FromBytes for MapInfowhere
Name: FromBytes,
usize: FromBytes,
zx_info_maps_type_t: FromBytes,
InfoMapsTypeUnion: FromBytes,
impl FromBytes for MapInfowhere
Name: FromBytes,
usize: FromBytes,
zx_info_maps_type_t: FromBytes,
InfoMapsTypeUnion: FromBytes,
Source§impl FromZeros for MapInfowhere
Name: FromZeros,
usize: FromZeros,
zx_info_maps_type_t: FromZeros,
InfoMapsTypeUnion: FromZeros,
impl FromZeros for MapInfowhere
Name: FromZeros,
usize: FromZeros,
zx_info_maps_type_t: FromZeros,
InfoMapsTypeUnion: FromZeros,
Source§impl TryFromBytes for MapInfowhere
Name: TryFromBytes,
usize: TryFromBytes,
zx_info_maps_type_t: TryFromBytes,
InfoMapsTypeUnion: TryFromBytes,
impl TryFromBytes for MapInfowhere
Name: TryFromBytes,
usize: TryFromBytes,
zx_info_maps_type_t: TryFromBytes,
InfoMapsTypeUnion: 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 MapInfo
impl Immutable for MapInfowhere
Name: Immutable,
usize: Immutable,
zx_info_maps_type_t: Immutable,
InfoMapsTypeUnion: Immutable,
Auto Trait Implementations§
impl Freeze for MapInfo
impl RefUnwindSafe for MapInfo
impl Send for MapInfo
impl Sync for MapInfo
impl Unpin for MapInfo
impl UnwindSafe for MapInfo
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
)