Struct WirePager
pub struct WirePager { /* private fields */ }
Expand description
A Zircon Pager.
Implementations§
§impl WirePager
impl WirePager
pub fn set_encoded_present(out: &mut MaybeUninit<WirePager>)
pub fn set_encoded_present(out: &mut MaybeUninit<WirePager>)
Encodes a Pager 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 WirePagerwhere
D: HandleDecoder + ?Sized,
impl<D> Decode<D> for WirePagerwhere
D: HandleDecoder + ?Sized,
§impl FromWire<WirePager> for Pager
impl FromWire<WirePager> for Pager
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
§impl Wire for WirePager
impl Wire for WirePager
§fn zero_padding(out: &mut MaybeUninit<WirePager>)
fn zero_padding(out: &mut MaybeUninit<WirePager>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for WirePager
impl RefUnwindSafe for WirePager
impl Send for WirePager
impl Sync for WirePager
impl Unpin for WirePager
impl UnwindSafe for WirePager
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