pub union WirePointer<'de, T> {
    /* private fields */
}Expand description
A raw FIDL pointer
Implementations§
Source§impl<T> WirePointer<'_, T>
 
impl<T> WirePointer<'_, T>
Sourcepub fn is_encoded_present(slot: Slot<'_, Self>) -> Result<bool, DecodeError>
 
pub fn is_encoded_present(slot: Slot<'_, Self>) -> Result<bool, DecodeError>
Returns whether the wire pointer was encoded present.
Sourcepub fn encode_present(out: &mut MaybeUninit<Self>)
 
pub fn encode_present(out: &mut MaybeUninit<Self>)
Encodes that a pointer is present in an output.
Sourcepub fn encode_absent(out: &mut MaybeUninit<Self>)
 
pub fn encode_absent(out: &mut MaybeUninit<Self>)
Encodes that a pointer is absent in a slot.
Sourcepub fn set_decoded(slot: Slot<'_, Self>, ptr: *mut T)
 
pub fn set_decoded(slot: Slot<'_, Self>, ptr: *mut T)
Sets the decoded value of the pointer.
Trait Implementations§
impl<T: Send> Send for WirePointer<'_, T>
impl<T: Sync> Sync for WirePointer<'_, T>
Auto Trait Implementations§
impl<'de, T> Freeze for WirePointer<'de, T>
impl<'de, T> RefUnwindSafe for WirePointer<'de, T>where
    T: RefUnwindSafe,
impl<'de, T> Unpin for WirePointer<'de, T>
impl<'de, T> !UnwindSafe for WirePointer<'de, T>
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