#[repr(C)]pub struct WireComponent<'de> { /* private fields */ }
Expand description
The wire type corresponding to Component
.
Implementations§
Source§impl<'de> WireComponent<'de>
impl<'de> WireComponent<'de>
pub fn url(&self) -> Option<&WireString<'de>>
pub fn decl(&self) -> Option<&WireData<'de>>
pub fn package(&self) -> Option<&WirePackage<'de>>
pub fn config_values(&self) -> Option<&WireData<'de>>
pub fn resolution_context(&self) -> Option<&WireContext<'de>>
pub fn abi_revision(&self) -> Option<&WireU64>
Trait Implementations§
Source§impl<'de> Debug for WireComponent<'de>
impl<'de> Debug for WireComponent<'de>
Source§impl<___D> Decode<___D> for WireComponent<'static>where
___D: Decoder + ?Sized + HandleDecoder,
impl<___D> Decode<___D> for WireComponent<'static>where
___D: Decoder + ?Sized + HandleDecoder,
Source§impl<'de> Drop for WireComponent<'de>
impl<'de> Drop for WireComponent<'de>
Source§impl<'de> FromWire<WireComponent<'de>> for Component
impl<'de> FromWire<WireComponent<'de>> for Component
Source§fn from_wire(wire: WireComponent<'de>) -> Self
fn from_wire(wire: WireComponent<'de>) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl Wire for WireComponent<'static>
impl Wire for WireComponent<'static>
Source§type Decoded<'de> = WireComponent<'de>
type Decoded<'de> = WireComponent<'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 WireComponent<'de>
impl<'de> RefUnwindSafe for WireComponent<'de>
impl<'de> !Send for WireComponent<'de>
impl<'de> !Sync for WireComponent<'de>
impl<'de> Unpin for WireComponent<'de>
impl<'de> !UnwindSafe for WireComponent<'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