#[repr(C)]pub struct VmarInfo {
pub base: usize,
pub len: usize,
}
Fields§
§base: usize
§len: usize
Trait Implementations§
source§impl From<zx_info_vmar_t> for VmarInfo
impl From<zx_info_vmar_t> for VmarInfo
source§fn from(_: zx_info_vmar_t) -> VmarInfo
fn from(_: zx_info_vmar_t) -> VmarInfo
Converts to this type from the input type.
source§impl FromBytes for VmarInfowhere
usize: FromBytes,
impl FromBytes for VmarInfowhere
usize: FromBytes,
source§impl PartialEq for VmarInfo
impl PartialEq for VmarInfo
source§impl TryFromBytes for VmarInfowhere
usize: TryFromBytes,
impl TryFromBytes for VmarInfowhere
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 VmarInfo
impl Eq for VmarInfo
impl Immutable for VmarInfowhere
usize: Immutable,
impl StructuralPartialEq for VmarInfo
Auto Trait Implementations§
impl Freeze for VmarInfo
impl RefUnwindSafe for VmarInfo
impl Send for VmarInfo
impl Sync for VmarInfo
impl Unpin for VmarInfo
impl UnwindSafe for VmarInfo
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
)