#[repr(C)]pub struct WireCalculatorDivideResponse {
pub quotient: WireI32,
pub remainder: WireI32,
}
Expand description
The wire type corresponding to CalculatorDivideResponse
.
Fields§
§quotient: WireI32
§remainder: WireI32
Trait Implementations§
Source§impl Clone for WireCalculatorDivideResponse
impl Clone for WireCalculatorDivideResponse
Source§fn clone(&self) -> WireCalculatorDivideResponse
fn clone(&self) -> WireCalculatorDivideResponse
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 WireCalculatorDivideResponse
impl Debug for WireCalculatorDivideResponse
Source§impl<___D> Decode<___D> for WireCalculatorDivideResponsewhere
___D: InternalHandleDecoder + ?Sized,
impl<___D> Decode<___D> for WireCalculatorDivideResponsewhere
___D: InternalHandleDecoder + ?Sized,
Source§impl FromWire<WireCalculatorDivideResponse> for CalculatorDivideResponse
impl FromWire<WireCalculatorDivideResponse> for CalculatorDivideResponse
Source§fn from_wire(wire: WireCalculatorDivideResponse) -> Self
fn from_wire(wire: WireCalculatorDivideResponse) -> Self
Converts the given
wire
to this type.Source§impl FromWireRef<WireCalculatorDivideResponse> for CalculatorDivideResponse
impl FromWireRef<WireCalculatorDivideResponse> for CalculatorDivideResponse
Source§fn from_wire_ref(wire: &WireCalculatorDivideResponse) -> Self
fn from_wire_ref(wire: &WireCalculatorDivideResponse) -> Self
Converts the given
wire
reference to this type.Source§impl Wire for WireCalculatorDivideResponse
impl Wire for WireCalculatorDivideResponse
Source§type Decoded<'de> = WireCalculatorDivideResponse
type Decoded<'de> = WireCalculatorDivideResponse
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 WireCalculatorDivideResponse
impl RefUnwindSafe for WireCalculatorDivideResponse
impl Send for WireCalculatorDivideResponse
impl Sync for WireCalculatorDivideResponse
impl Unpin for WireCalculatorDivideResponse
impl UnwindSafe for WireCalculatorDivideResponse
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