#[repr(C)]pub struct WireCalculatorDivideResponse {
pub quotient: WireI32,
pub remainder: WireI32,
}
Expand description
The wire type corersponding 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 TakeFrom<WireCalculatorDivideResponse> for CalculatorDivideResponse
impl TakeFrom<WireCalculatorDivideResponse> for CalculatorDivideResponse
Source§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§fn take_from(from: &WireCalculatorDivideResponse) -> Self
fn take_from(from: &WireCalculatorDivideResponse) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.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