Struct WireTable
#[repr(C)]pub struct WireTable<'de> { /* private fields */ }
Expand description
A FIDL table
Implementations§
§impl WireTable<'static>
impl WireTable<'static>
pub fn encode_len(out: &mut MaybeUninit<WireTable<'static>>, len: usize)
pub fn encode_len(out: &mut MaybeUninit<WireTable<'static>>, len: usize)
Encodes that a table contains len
values in a slot.
pub fn decode_with<D>(
slot: Slot<'_, WireTable<'static>>,
decoder: &mut D,
f: impl Fn(i64, Slot<'_, WireEnvelope>, &mut D) -> Result<(), DecodeError>,
) -> Result<(), DecodeError>
pub fn decode_with<D>( slot: Slot<'_, WireTable<'static>>, decoder: &mut D, f: impl Fn(i64, Slot<'_, WireEnvelope>, &mut D) -> Result<(), DecodeError>, ) -> Result<(), DecodeError>
Decodes the fields of the table with a decoding function.
The decoding function receives the ordinal of the field, its slot, and the decoder.
Trait Implementations§
§impl Wire for WireTable<'static>
impl Wire for WireTable<'static>
§fn zero_padding(_: &mut MaybeUninit<WireTable<'static>>)
fn zero_padding(_: &mut MaybeUninit<WireTable<'static>>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl<'de> Freeze for WireTable<'de>
impl<'de> RefUnwindSafe for WireTable<'de>
impl<'de> !Send for WireTable<'de>
impl<'de> !Sync for WireTable<'de>
impl<'de> Unpin for WireTable<'de>
impl<'de> !UnwindSafe for WireTable<'de>
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