#[repr(C)]pub struct TableWithReservedFieldThenUnionStruct<'de> {
pub t: TableWithReservedFieldThenUnion<'de>,
}Expand description
The wire type corresponding to TableWithReservedFieldThenUnionStruct.
Fields§
§t: TableWithReservedFieldThenUnion<'de>Trait Implementations§
Source§impl Constrained for TableWithReservedFieldThenUnionStruct<'_>
impl Constrained for TableWithReservedFieldThenUnionStruct<'_>
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§fn validate(
_: Slot<'_, TableWithReservedFieldThenUnionStruct<'_>>,
_: <TableWithReservedFieldThenUnionStruct<'_> as Constrained>::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, TableWithReservedFieldThenUnionStruct<'_>>, _: <TableWithReservedFieldThenUnionStruct<'_> 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 TableWithReservedFieldThenUnionStruct<'de>
impl<'de> Debug for TableWithReservedFieldThenUnionStruct<'de>
Source§impl<'de, ___D> Decode<___D> for TableWithReservedFieldThenUnionStruct<'de>where
___D: InternalHandleDecoder + Decoder<'de> + ?Sized,
impl<'de, ___D> Decode<___D> for TableWithReservedFieldThenUnionStruct<'de>where
___D: InternalHandleDecoder + Decoder<'de> + ?Sized,
Source§impl<'a, ___E> Encode<TableWithReservedFieldThenUnionStruct<'static>, ___E> for &'a TableWithReservedFieldThenUnionStructwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
impl<'a, ___E> Encode<TableWithReservedFieldThenUnionStruct<'static>, ___E> for &'a TableWithReservedFieldThenUnionStructwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<TableWithReservedFieldThenUnionStruct<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<TableWithReservedFieldThenUnionStruct<'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<TableWithReservedFieldThenUnionStruct<'static>, ___E> for TableWithReservedFieldThenUnionStructwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
impl<___E> Encode<TableWithReservedFieldThenUnionStruct<'static>, ___E> for TableWithReservedFieldThenUnionStructwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<TableWithReservedFieldThenUnionStruct<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<TableWithReservedFieldThenUnionStruct<'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, T0> Encode<TableWithReservedFieldThenUnionStruct<'static>, ___E> for TableWithReservedFieldThenUnionStruct<T0>where
___E: InternalHandleEncoder + Encoder + ?Sized,
T0: Encode<TableWithReservedFieldThenUnion<'static>, ___E>,
impl<___E, T0> Encode<TableWithReservedFieldThenUnionStruct<'static>, ___E> for TableWithReservedFieldThenUnionStruct<T0>where
___E: InternalHandleEncoder + Encoder + ?Sized,
T0: Encode<TableWithReservedFieldThenUnion<'static>, ___E>,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<TableWithReservedFieldThenUnionStruct<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<TableWithReservedFieldThenUnionStruct<'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<TableWithReservedFieldThenUnionStruct<'de>> for TableWithReservedFieldThenUnionStruct
impl<'de> FromWire<TableWithReservedFieldThenUnionStruct<'de>> for TableWithReservedFieldThenUnionStruct
Source§fn from_wire(
wire: TableWithReservedFieldThenUnionStruct<'de>,
) -> TableWithReservedFieldThenUnionStruct
fn from_wire( wire: TableWithReservedFieldThenUnionStruct<'de>, ) -> TableWithReservedFieldThenUnionStruct
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireRef<TableWithReservedFieldThenUnionStruct<'de>> for TableWithReservedFieldThenUnionStruct
impl<'de> FromWireRef<TableWithReservedFieldThenUnionStruct<'de>> for TableWithReservedFieldThenUnionStruct
Source§fn from_wire_ref(
wire: &TableWithReservedFieldThenUnionStruct<'de>,
) -> TableWithReservedFieldThenUnionStruct
fn from_wire_ref( wire: &TableWithReservedFieldThenUnionStruct<'de>, ) -> TableWithReservedFieldThenUnionStruct
Converts the given reference to this type.
Source§impl<'de> IntoNatural for TableWithReservedFieldThenUnionStruct<'de>
impl<'de> IntoNatural for TableWithReservedFieldThenUnionStruct<'de>
Source§type Natural = TableWithReservedFieldThenUnionStruct
type Natural = TableWithReservedFieldThenUnionStruct
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 TableWithReservedFieldThenUnionStruct<'static>
impl Wire for TableWithReservedFieldThenUnionStruct<'static>
Source§type Narrowed<'de> = TableWithReservedFieldThenUnionStruct<'de>
type Narrowed<'de> = TableWithReservedFieldThenUnionStruct<'de>
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(
out_: &mut MaybeUninit<TableWithReservedFieldThenUnionStruct<'static>>,
)
fn zero_padding( out_: &mut MaybeUninit<TableWithReservedFieldThenUnionStruct<'static>>, )
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl<'de> Freeze for TableWithReservedFieldThenUnionStruct<'de>
impl<'de> RefUnwindSafe for TableWithReservedFieldThenUnionStruct<'de>
impl<'de> Send for TableWithReservedFieldThenUnionStruct<'de>
impl<'de> Sync for TableWithReservedFieldThenUnionStruct<'de>
impl<'de> Unpin for TableWithReservedFieldThenUnionStruct<'de>
impl<'de> UnsafeUnpin for TableWithReservedFieldThenUnionStruct<'de>
impl<'de> !UnwindSafe for TableWithReservedFieldThenUnionStruct<'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]