#[repr(C)]pub struct WireParentSpec2 {
pub bind_rules: WireVector<WireBindRule2>,
pub properties: WireVector<WireNodeProperty2>,
}
Expand description
The wire type corresponding to ParentSpec2
.
Fields§
§bind_rules: WireVector<WireBindRule2>
§properties: WireVector<WireNodeProperty2>
Trait Implementations§
Source§impl Debug for WireParentSpec2
impl Debug for WireParentSpec2
Source§impl<___D> Decode<___D> for WireParentSpec2where
___D: InternalHandleDecoder + ?Sized + Decoder,
impl<___D> Decode<___D> for WireParentSpec2where
___D: InternalHandleDecoder + ?Sized + Decoder,
Source§impl TakeFrom<WireParentSpec2> for ParentSpec2
impl TakeFrom<WireParentSpec2> for ParentSpec2
Source§fn take_from(from: &WireParentSpec2) -> Self
fn take_from(from: &WireParentSpec2) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§impl TakeFrom<WireParentSpec2> for ParentSpec2
impl TakeFrom<WireParentSpec2> for ParentSpec2
Source§fn take_from(from: &WireParentSpec2) -> Self
fn take_from(from: &WireParentSpec2) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§impl ZeroPadding for WireParentSpec2
impl ZeroPadding for WireParentSpec2
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 Freeze for WireParentSpec2
impl RefUnwindSafe for WireParentSpec2
impl !Send for WireParentSpec2
impl !Sync for WireParentSpec2
impl Unpin for WireParentSpec2
impl UnwindSafe for WireParentSpec2
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