pub struct TableWithReservedFieldThenUnion<'de> { /* private fields */ }Expand description
The wire type corresponding to TableWithReservedFieldThenUnion.
Implementations§
Source§impl<'de> TableWithReservedFieldThenUnion<'de>
impl<'de> TableWithReservedFieldThenUnion<'de>
pub fn uv(&self) -> Option<&UnionSize8Align4>
Trait Implementations§
Source§impl Constrained for TableWithReservedFieldThenUnion<'_>
impl Constrained for TableWithReservedFieldThenUnion<'_>
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§fn validate(
_: Slot<'_, TableWithReservedFieldThenUnion<'_>>,
_: <TableWithReservedFieldThenUnion<'_> as Constrained>::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, TableWithReservedFieldThenUnion<'_>>, _: <TableWithReservedFieldThenUnion<'_> as Constrained>::Constraint, ) -> Result<(), ValidationError>
Validate a slot of this type against a constraint. Can be called when
pointers/envelopes are just presence markers.
Source§impl<'de> Debug for TableWithReservedFieldThenUnion<'de>
impl<'de> Debug for TableWithReservedFieldThenUnion<'de>
Source§impl<'de, ___D> Decode<___D> for TableWithReservedFieldThenUnion<'de>where
___D: Decoder<'de> + ?Sized,
impl<'de, ___D> Decode<___D> for TableWithReservedFieldThenUnion<'de>where
___D: Decoder<'de> + ?Sized,
Source§impl<'de> Drop for TableWithReservedFieldThenUnion<'de>
impl<'de> Drop for TableWithReservedFieldThenUnion<'de>
Source§impl<'a, ___E> Encode<TableWithReservedFieldThenUnion<'static>, ___E> for &'a TableWithReservedFieldThenUnionwhere
___E: Encoder + ?Sized,
impl<'a, ___E> Encode<TableWithReservedFieldThenUnion<'static>, ___E> for &'a TableWithReservedFieldThenUnionwhere
___E: Encoder + ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<TableWithReservedFieldThenUnion<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<TableWithReservedFieldThenUnion<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E> Encode<TableWithReservedFieldThenUnion<'static>, ___E> for TableWithReservedFieldThenUnionwhere
___E: Encoder + ?Sized,
impl<___E> Encode<TableWithReservedFieldThenUnion<'static>, ___E> for TableWithReservedFieldThenUnionwhere
___E: Encoder + ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<TableWithReservedFieldThenUnion<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<TableWithReservedFieldThenUnion<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'de> FromWire<TableWithReservedFieldThenUnion<'de>> for TableWithReservedFieldThenUnion
impl<'de> FromWire<TableWithReservedFieldThenUnion<'de>> for TableWithReservedFieldThenUnion
Source§fn from_wire(
wire_: TableWithReservedFieldThenUnion<'de>,
) -> TableWithReservedFieldThenUnion
fn from_wire( wire_: TableWithReservedFieldThenUnion<'de>, ) -> TableWithReservedFieldThenUnion
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireRef<TableWithReservedFieldThenUnion<'de>> for TableWithReservedFieldThenUnion
impl<'de> FromWireRef<TableWithReservedFieldThenUnion<'de>> for TableWithReservedFieldThenUnion
Source§fn from_wire_ref(
wire: &TableWithReservedFieldThenUnion<'de>,
) -> TableWithReservedFieldThenUnion
fn from_wire_ref( wire: &TableWithReservedFieldThenUnion<'de>, ) -> TableWithReservedFieldThenUnion
Converts the given reference to this type.
Source§impl<'de> IntoNatural for TableWithReservedFieldThenUnion<'de>
impl<'de> IntoNatural for TableWithReservedFieldThenUnion<'de>
Source§type Natural = TableWithReservedFieldThenUnion
type Natural = TableWithReservedFieldThenUnion
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl Wire for TableWithReservedFieldThenUnion<'static>
impl Wire for TableWithReservedFieldThenUnion<'static>
Source§type Narrowed<'de> = TableWithReservedFieldThenUnion<'de>
type Narrowed<'de> = TableWithReservedFieldThenUnion<'de>
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(out: &mut MaybeUninit<TableWithReservedFieldThenUnion<'static>>)
fn zero_padding(out: &mut MaybeUninit<TableWithReservedFieldThenUnion<'static>>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl<'de> Freeze for TableWithReservedFieldThenUnion<'de>
impl<'de> RefUnwindSafe for TableWithReservedFieldThenUnion<'de>
impl<'de> Send for TableWithReservedFieldThenUnion<'de>
impl<'de> Sync for TableWithReservedFieldThenUnion<'de>
impl<'de> Unpin for TableWithReservedFieldThenUnion<'de>
impl<'de> UnsafeUnpin for TableWithReservedFieldThenUnion<'de>
impl<'de> !UnwindSafe for TableWithReservedFieldThenUnion<'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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]