#[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 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§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
)