#[repr(C)]pub struct ParentSpec<'de> {
pub bind_rules: WireVector<'de, BindRule<'de>>,
pub properties: WireVector<'de, NodeProperty<'de>>,
}Expand description
The wire type corresponding to ParentSpec.
Fields§
§bind_rules: WireVector<'de, BindRule<'de>>§properties: WireVector<'de, NodeProperty<'de>>Trait Implementations§
Source§impl<'de> Debug for ParentSpec<'de>
impl<'de> Debug for ParentSpec<'de>
Source§impl<___D> Decode<___D> for ParentSpec<'static>where
___D: InternalHandleDecoder + ?Sized + Decoder,
impl<___D> Decode<___D> for ParentSpec<'static>where
___D: InternalHandleDecoder + ?Sized + Decoder,
Source§impl<'a, ___E> Encode<ParentSpec<'static>, ___E> for &'a ParentSpecwhere
___E: InternalHandleEncoder + ?Sized + Encoder,
impl<'a, ___E> Encode<ParentSpec<'static>, ___E> for &'a ParentSpecwhere
___E: InternalHandleEncoder + ?Sized + Encoder,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<ParentSpec<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<ParentSpec<'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<ParentSpec<'static>, ___E> for ParentSpecwhere
___E: InternalHandleEncoder + ?Sized + Encoder,
impl<___E> Encode<ParentSpec<'static>, ___E> for ParentSpecwhere
___E: InternalHandleEncoder + ?Sized + Encoder,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<ParentSpec<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<ParentSpec<'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, T1> Encode<ParentSpec<'static>, ___E> for ParentSpec<T0, T1>where
___E: InternalHandleEncoder + ?Sized + Encoder,
T0: Encode<WireVector<'static, BindRule<'static>>, ___E>,
T1: Encode<WireVector<'static, NodeProperty<'static>>, ___E>,
impl<___E, T0, T1> Encode<ParentSpec<'static>, ___E> for ParentSpec<T0, T1>where
___E: InternalHandleEncoder + ?Sized + Encoder,
T0: Encode<WireVector<'static, BindRule<'static>>, ___E>,
T1: Encode<WireVector<'static, NodeProperty<'static>>, ___E>,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<ParentSpec<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<ParentSpec<'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<ParentSpec<'de>> for ParentSpec
impl<'de> FromWire<ParentSpec<'de>> for ParentSpec
Source§fn from_wire(wire: ParentSpec<'de>) -> Self
fn from_wire(wire: ParentSpec<'de>) -> Self
Converts the given
wire to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireRef<ParentSpec<'de>> for ParentSpec
impl<'de> FromWireRef<ParentSpec<'de>> for ParentSpec
Source§fn from_wire_ref(wire: &ParentSpec<'de>) -> Self
fn from_wire_ref(wire: &ParentSpec<'de>) -> Self
Converts the given
wire reference to this type.Source§impl<'de> IntoNatural for ParentSpec<'de>
impl<'de> IntoNatural for ParentSpec<'de>
Source§type Natural = ParentSpec
type Natural = ParentSpec
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 ParentSpec<'static>
impl Wire for ParentSpec<'static>
Source§type Decoded<'de> = ParentSpec<'de>
type Decoded<'de> = ParentSpec<'de>
The decoded wire type, restricted to the
'de lifetime.Source§fn zero_padding(out_: &mut MaybeUninit<Self>)
fn zero_padding(out_: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
impl Unconstrained for ParentSpec<'static>
Auto Trait Implementations§
impl<'de> Freeze for ParentSpec<'de>
impl<'de> RefUnwindSafe for ParentSpec<'de>
impl<'de> Send for ParentSpec<'de>
impl<'de> Sync for ParentSpec<'de>
impl<'de> Unpin for ParentSpec<'de>
impl<'de> !UnwindSafe for ParentSpec<'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
§impl<T> Constrained for Twhere
T: Unconstrained,
impl<T> Constrained for Twhere
T: Unconstrained,
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]