#[repr(C)]pub struct WireCalculatorAddResponse {
pub sum: WireI32,
}
Expand description
The wire type corresponding to CalculatorAddResponse
.
Fields§
§sum: WireI32
Trait Implementations§
Source§impl Clone for WireCalculatorAddResponse
impl Clone for WireCalculatorAddResponse
Source§fn clone(&self) -> WireCalculatorAddResponse
fn clone(&self) -> WireCalculatorAddResponse
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 WireCalculatorAddResponse
impl Debug for WireCalculatorAddResponse
Source§impl<___D> Decode<___D> for WireCalculatorAddResponsewhere
___D: InternalHandleDecoder + ?Sized,
impl<___D> Decode<___D> for WireCalculatorAddResponsewhere
___D: InternalHandleDecoder + ?Sized,
Source§impl TakeFrom<WireCalculatorAddResponse> for CalculatorAddResponse
impl TakeFrom<WireCalculatorAddResponse> for CalculatorAddResponse
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: &WireCalculatorAddResponse) -> Self
fn take_from(from: &WireCalculatorAddResponse) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.Source§impl TakeFrom<WireCalculatorAddResponse> for CalculatorAddResponse
impl TakeFrom<WireCalculatorAddResponse> for CalculatorAddResponse
Source§fn take_from(from: &WireCalculatorAddResponse) -> Self
fn take_from(from: &WireCalculatorAddResponse) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.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§impl ZeroPadding for WireCalculatorAddResponse
impl ZeroPadding for WireCalculatorAddResponse
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 WireCalculatorAddResponse
impl RefUnwindSafe for WireCalculatorAddResponse
impl Send for WireCalculatorAddResponse
impl Sync for WireCalculatorAddResponse
impl Unpin for WireCalculatorAddResponse
impl UnwindSafe for WireCalculatorAddResponse
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