#[repr(C)]pub struct WireBindRule2<'de> {
pub key: WireString<'de>,
pub condition: WireCondition,
pub values: WireVector<'de, WireNodePropertyValue<'de>>,
}
Expand description
The wire type corresponding to BindRule2
.
Fields§
§key: WireString<'de>
§condition: WireCondition
§values: WireVector<'de, WireNodePropertyValue<'de>>
Trait Implementations§
Source§impl<'de> Debug for WireBindRule2<'de>
impl<'de> Debug for WireBindRule2<'de>
Source§impl<___D> Decode<___D> for WireBindRule2<'static>where
___D: InternalHandleDecoder + ?Sized + Decoder,
impl<___D> Decode<___D> for WireBindRule2<'static>where
___D: InternalHandleDecoder + ?Sized + Decoder,
Source§impl<'de> FromWire<WireBindRule2<'de>> for BindRule2
impl<'de> FromWire<WireBindRule2<'de>> for BindRule2
Source§fn from_wire(wire: WireBindRule2<'de>) -> Self
fn from_wire(wire: WireBindRule2<'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<WireBindRule2<'de>> for BindRule2
impl<'de> FromWireRef<WireBindRule2<'de>> for BindRule2
Source§fn from_wire_ref(wire: &WireBindRule2<'de>) -> Self
fn from_wire_ref(wire: &WireBindRule2<'de>) -> Self
Converts the given
wire
reference to this type.Source§impl Wire for WireBindRule2<'static>
impl Wire for WireBindRule2<'static>
Source§type Decoded<'de> = WireBindRule2<'de>
type Decoded<'de> = WireBindRule2<'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.
Auto Trait Implementations§
impl<'de> Freeze for WireBindRule2<'de>
impl<'de> RefUnwindSafe for WireBindRule2<'de>
impl<'de> !Send for WireBindRule2<'de>
impl<'de> !Sync for WireBindRule2<'de>
impl<'de> Unpin for WireBindRule2<'de>
impl<'de> !UnwindSafe for WireBindRule2<'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