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