pub struct WireDependencyType { /* private fields */ }
Expand description
The wire type corresponding to DependencyType
.
Implementations§
Source§impl WireDependencyType
impl WireDependencyType
pub const STRONG: WireDependencyType
pub const WEAK: WireDependencyType
Trait Implementations§
Source§impl Clone for WireDependencyType
impl Clone for WireDependencyType
Source§fn clone(&self) -> WireDependencyType
fn clone(&self) -> WireDependencyType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WireDependencyType
impl Debug for WireDependencyType
Source§impl<___D> Decode<___D> for WireDependencyTypewhere
___D: ?Sized,
impl<___D> Decode<___D> for WireDependencyTypewhere
___D: ?Sized,
Source§impl From<DependencyType> for WireDependencyType
impl From<DependencyType> for WireDependencyType
Source§fn from(natural: DependencyType) -> Self
fn from(natural: DependencyType) -> Self
Converts to this type from the input type.
Source§impl From<WireDependencyType> for DependencyType
impl From<WireDependencyType> for DependencyType
Source§fn from(wire: WireDependencyType) -> Self
fn from(wire: WireDependencyType) -> Self
Converts to this type from the input type.
Source§impl FromWire<WireDependencyType> for DependencyType
impl FromWire<WireDependencyType> for DependencyType
Source§fn from_wire(wire: WireDependencyType) -> Self
fn from_wire(wire: WireDependencyType) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<WireDependencyType> for DependencyType
impl FromWireRef<WireDependencyType> for DependencyType
Source§fn from_wire_ref(wire: &WireDependencyType) -> Self
fn from_wire_ref(wire: &WireDependencyType) -> Self
Converts the given
wire
reference to this type.Source§impl PartialEq for WireDependencyType
impl PartialEq for WireDependencyType
Source§impl Wire for WireDependencyType
impl Wire for WireDependencyType
Source§type Decoded<'de> = WireDependencyType
type Decoded<'de> = WireDependencyType
The decoded wire type, restricted to the
'de
lifetime.Source§fn zero_padding(_: &mut MaybeUninit<Self>)
fn zero_padding(_: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
impl Copy for WireDependencyType
impl Eq for WireDependencyType
impl StructuralPartialEq for WireDependencyType
Auto Trait Implementations§
impl Freeze for WireDependencyType
impl RefUnwindSafe for WireDependencyType
impl Send for WireDependencyType
impl Sync for WireDependencyType
impl Unpin for WireDependencyType
impl UnwindSafe for WireDependencyType
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