Struct WireVmar
pub struct WireVmar { /* private fields */ }
Expand description
A Zircon Vmar.
Implementations§
§impl WireVmar
impl WireVmar
pub fn set_encoded_present(out: &mut MaybeUninit<WireVmar>)
pub fn set_encoded_present(out: &mut MaybeUninit<WireVmar>)
Encodes a Vmar as present in an output.
pub fn is_invalid(&self) -> bool
pub fn is_invalid(&self) -> bool
Returns whether the underlying zx_handle_t
is invalid.
pub fn as_raw_handle(&self) -> u32
pub fn as_raw_handle(&self) -> u32
Returns the underlying zx_handle_t
.
Trait Implementations§
§impl<D> Decode<D> for WireVmarwhere
D: HandleDecoder + ?Sized,
impl<D> Decode<D> for WireVmarwhere
D: HandleDecoder + ?Sized,
§impl FromWire<WireVmar> for Vmar
impl FromWire<WireVmar> for Vmar
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
§impl Wire for WireVmar
impl Wire for WireVmar
§fn zero_padding(out: &mut MaybeUninit<WireVmar>)
fn zero_padding(out: &mut MaybeUninit<WireVmar>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for WireVmar
impl RefUnwindSafe for WireVmar
impl Send for WireVmar
impl Sync for WireVmar
impl Unpin for WireVmar
impl UnwindSafe for WireVmar
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