#[repr(C)]pub struct WireCalculatorPowResponse {
pub power: WireF64,
}
Expand description
The wire type corresponding to CalculatorPowResponse
.
Fields§
§power: WireF64
Trait Implementations§
Source§impl Clone for WireCalculatorPowResponse
impl Clone for WireCalculatorPowResponse
Source§fn clone(&self) -> WireCalculatorPowResponse
fn clone(&self) -> WireCalculatorPowResponse
Returns a duplicate 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 WireCalculatorPowResponse
impl Debug for WireCalculatorPowResponse
Source§impl<___D> Decode<___D> for WireCalculatorPowResponsewhere
___D: InternalHandleDecoder + ?Sized,
impl<___D> Decode<___D> for WireCalculatorPowResponsewhere
___D: InternalHandleDecoder + ?Sized,
Source§impl FromWire<WireCalculatorPowResponse> for CalculatorPowResponse
impl FromWire<WireCalculatorPowResponse> for CalculatorPowResponse
Source§const COPY_OPTIMIZATION: CopyOptimization<WireCalculatorPowResponse, Self>
const COPY_OPTIMIZATION: CopyOptimization<WireCalculatorPowResponse, Self>
Source§fn from_wire(wire: WireCalculatorPowResponse) -> Self
fn from_wire(wire: WireCalculatorPowResponse) -> Self
Converts the given
wire
to this type.Source§impl FromWireRef<WireCalculatorPowResponse> for CalculatorPowResponse
impl FromWireRef<WireCalculatorPowResponse> for CalculatorPowResponse
Source§fn from_wire_ref(wire: &WireCalculatorPowResponse) -> Self
fn from_wire_ref(wire: &WireCalculatorPowResponse) -> Self
Converts the given
wire
reference to this type.Source§impl Wire for WireCalculatorPowResponse
impl Wire for WireCalculatorPowResponse
Source§type Decoded<'de> = WireCalculatorPowResponse
type Decoded<'de> = WireCalculatorPowResponse
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 Freeze for WireCalculatorPowResponse
impl RefUnwindSafe for WireCalculatorPowResponse
impl Send for WireCalculatorPowResponse
impl Sync for WireCalculatorPowResponse
impl Unpin for WireCalculatorPowResponse
impl UnwindSafe for WireCalculatorPowResponse
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