#[repr(C)]pub struct WireOptions<'de> { /* private fields */ }
Expand description
The wire type corresponding to Options
.
Implementations§
Source§impl<'de> WireOptions<'de>
impl<'de> WireOptions<'de>
pub fn attributes(&self) -> Option<&WireNodeAttributesQuery>
pub fn create_attributes(&self) -> Option<&WireMutableNodeAttributes<'de>>
Trait Implementations§
Source§impl<'de> Debug for WireOptions<'de>
impl<'de> Debug for WireOptions<'de>
Source§impl<___D> Decode<___D> for WireOptions<'static>where
___D: Decoder + ?Sized,
impl<___D> Decode<___D> for WireOptions<'static>where
___D: Decoder + ?Sized,
Source§impl<'de> FromWire<WireOptions<'de>> for Options
impl<'de> FromWire<WireOptions<'de>> for Options
Source§fn from_wire(wire: WireOptions<'de>) -> Self
fn from_wire(wire: WireOptions<'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<WireOptions<'de>> for Options
impl<'de> FromWireRef<WireOptions<'de>> for Options
Source§fn from_wire_ref(wire: &WireOptions<'de>) -> Self
fn from_wire_ref(wire: &WireOptions<'de>) -> Self
Converts the given
wire
reference to this type.Source§impl Wire for WireOptions<'static>
impl Wire for WireOptions<'static>
Source§type Decoded<'de> = WireOptions<'de>
type Decoded<'de> = WireOptions<'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 WireOptions<'de>
impl<'de> RefUnwindSafe for WireOptions<'de>
impl<'de> !Send for WireOptions<'de>
impl<'de> !Sync for WireOptions<'de>
impl<'de> Unpin for WireOptions<'de>
impl<'de> !UnwindSafe for WireOptions<'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