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 PartialEq for WireDependencyType
impl PartialEq for WireDependencyType
Source§impl TakeFrom<WireDependencyType> for DependencyType
impl TakeFrom<WireDependencyType> for DependencyType
Source§fn take_from(from: &WireDependencyType) -> Self
fn take_from(from: &WireDependencyType) -> 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<WireDependencyType> for DependencyType
impl TakeFrom<WireDependencyType> for DependencyType
Source§fn take_from(from: &WireDependencyType) -> Self
fn take_from(from: &WireDependencyType) -> 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 WireDependencyType
impl ZeroPadding for WireDependencyType
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