#[repr(C, align(8))]pub struct WireI64(pub i64);
Expand description
A wire-encoded i64
Tuple Fields§
§0: i64
Trait Implementations§
Source§impl AddAssign<&WireI64> for WireI64
impl AddAssign<&WireI64> for WireI64
Source§fn add_assign(&mut self, other: &WireI64)
fn add_assign(&mut self, other: &WireI64)
Performs the
+=
operation. Read moreSource§impl AddAssign<&i64> for WireI64
impl AddAssign<&i64> for WireI64
Source§fn add_assign(&mut self, other: &i64)
fn add_assign(&mut self, other: &i64)
Performs the
+=
operation. Read moreSource§impl AddAssign<i64> for WireI64
impl AddAssign<i64> for WireI64
Source§fn add_assign(&mut self, other: i64)
fn add_assign(&mut self, other: i64)
Performs the
+=
operation. Read moreSource§impl AddAssign for WireI64
impl AddAssign for WireI64
Source§fn add_assign(&mut self, other: WireI64)
fn add_assign(&mut self, other: WireI64)
Performs the
+=
operation. Read moreSource§impl BitAndAssign<&WireI64> for WireI64
impl BitAndAssign<&WireI64> for WireI64
Source§fn bitand_assign(&mut self, other: &WireI64)
fn bitand_assign(&mut self, other: &WireI64)
Performs the
&=
operation. Read moreSource§impl BitAndAssign<&i64> for WireI64
impl BitAndAssign<&i64> for WireI64
Source§fn bitand_assign(&mut self, other: &i64)
fn bitand_assign(&mut self, other: &i64)
Performs the
&=
operation. Read moreSource§impl BitAndAssign<i64> for WireI64
impl BitAndAssign<i64> for WireI64
Source§fn bitand_assign(&mut self, other: i64)
fn bitand_assign(&mut self, other: i64)
Performs the
&=
operation. Read moreSource§impl BitAndAssign for WireI64
impl BitAndAssign for WireI64
Source§fn bitand_assign(&mut self, other: WireI64)
fn bitand_assign(&mut self, other: WireI64)
Performs the
&=
operation. Read moreSource§impl BitOrAssign<&WireI64> for WireI64
impl BitOrAssign<&WireI64> for WireI64
Source§fn bitor_assign(&mut self, other: &WireI64)
fn bitor_assign(&mut self, other: &WireI64)
Performs the
|=
operation. Read moreSource§impl BitOrAssign<&i64> for WireI64
impl BitOrAssign<&i64> for WireI64
Source§fn bitor_assign(&mut self, other: &i64)
fn bitor_assign(&mut self, other: &i64)
Performs the
|=
operation. Read moreSource§impl BitOrAssign<i64> for WireI64
impl BitOrAssign<i64> for WireI64
Source§fn bitor_assign(&mut self, other: i64)
fn bitor_assign(&mut self, other: i64)
Performs the
|=
operation. Read moreSource§impl BitOrAssign for WireI64
impl BitOrAssign for WireI64
Source§fn bitor_assign(&mut self, other: WireI64)
fn bitor_assign(&mut self, other: WireI64)
Performs the
|=
operation. Read moreSource§impl BitXorAssign<&WireI64> for WireI64
impl BitXorAssign<&WireI64> for WireI64
Source§fn bitxor_assign(&mut self, other: &WireI64)
fn bitxor_assign(&mut self, other: &WireI64)
Performs the
^=
operation. Read moreSource§impl BitXorAssign<&i64> for WireI64
impl BitXorAssign<&i64> for WireI64
Source§fn bitxor_assign(&mut self, other: &i64)
fn bitxor_assign(&mut self, other: &i64)
Performs the
^=
operation. Read moreSource§impl BitXorAssign<i64> for WireI64
impl BitXorAssign<i64> for WireI64
Source§fn bitxor_assign(&mut self, other: i64)
fn bitxor_assign(&mut self, other: i64)
Performs the
^=
operation. Read moreSource§impl BitXorAssign for WireI64
impl BitXorAssign for WireI64
Source§fn bitxor_assign(&mut self, other: WireI64)
fn bitxor_assign(&mut self, other: WireI64)
Performs the
^=
operation. Read moreSource§impl DivAssign<&WireI64> for WireI64
impl DivAssign<&WireI64> for WireI64
Source§fn div_assign(&mut self, other: &WireI64)
fn div_assign(&mut self, other: &WireI64)
Performs the
/=
operation. Read moreSource§impl DivAssign<&i64> for WireI64
impl DivAssign<&i64> for WireI64
Source§fn div_assign(&mut self, other: &i64)
fn div_assign(&mut self, other: &i64)
Performs the
/=
operation. Read moreSource§impl DivAssign<i64> for WireI64
impl DivAssign<i64> for WireI64
Source§fn div_assign(&mut self, other: i64)
fn div_assign(&mut self, other: i64)
Performs the
/=
operation. Read moreSource§impl DivAssign for WireI64
impl DivAssign for WireI64
Source§fn div_assign(&mut self, other: WireI64)
fn div_assign(&mut self, other: WireI64)
Performs the
/=
operation. Read moreSource§impl Encodable for WireI64
impl Encodable for WireI64
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
encoding instead of calling
encode
. Read moreSource§impl EncodableOption for WireI64
impl EncodableOption for WireI64
Source§type EncodedOption = WireBox<WireI64>
type EncodedOption = WireBox<WireI64>
The wire type for the optional value.
Source§impl<E: Encoder + ?Sized> EncodeOption<E> for WireI64
impl<E: Encoder + ?Sized> EncodeOption<E> for WireI64
Source§fn encode_option(
this: Option<&mut Self>,
encoder: &mut E,
slot: Slot<'_, Self::EncodedOption>,
) -> Result<(), EncodeError>
fn encode_option( this: Option<&mut Self>, encoder: &mut E, slot: Slot<'_, Self::EncodedOption>, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and slot.
Source§impl FromBytes for WireI64where
i64: FromBytes,
impl FromBytes for WireI64where
i64: FromBytes,
Source§impl IntoBytes for WireI64
impl IntoBytes for WireI64
§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
Source§impl MulAssign<&WireI64> for WireI64
impl MulAssign<&WireI64> for WireI64
Source§fn mul_assign(&mut self, other: &WireI64)
fn mul_assign(&mut self, other: &WireI64)
Performs the
*=
operation. Read moreSource§impl MulAssign<&i64> for WireI64
impl MulAssign<&i64> for WireI64
Source§fn mul_assign(&mut self, other: &i64)
fn mul_assign(&mut self, other: &i64)
Performs the
*=
operation. Read moreSource§impl MulAssign<i64> for WireI64
impl MulAssign<i64> for WireI64
Source§fn mul_assign(&mut self, other: i64)
fn mul_assign(&mut self, other: i64)
Performs the
*=
operation. Read moreSource§impl MulAssign for WireI64
impl MulAssign for WireI64
Source§fn mul_assign(&mut self, other: WireI64)
fn mul_assign(&mut self, other: WireI64)
Performs the
*=
operation. Read moreSource§impl Ord for WireI64
impl Ord for WireI64
Source§impl PartialOrd<i64> for WireI64
impl PartialOrd<i64> for WireI64
Source§impl PartialOrd for WireI64
impl PartialOrd for WireI64
Source§impl RemAssign<&WireI64> for WireI64
impl RemAssign<&WireI64> for WireI64
Source§fn rem_assign(&mut self, other: &WireI64)
fn rem_assign(&mut self, other: &WireI64)
Performs the
%=
operation. Read moreSource§impl RemAssign<&i64> for WireI64
impl RemAssign<&i64> for WireI64
Source§fn rem_assign(&mut self, other: &i64)
fn rem_assign(&mut self, other: &i64)
Performs the
%=
operation. Read moreSource§impl RemAssign<i64> for WireI64
impl RemAssign<i64> for WireI64
Source§fn rem_assign(&mut self, other: i64)
fn rem_assign(&mut self, other: i64)
Performs the
%=
operation. Read moreSource§impl RemAssign for WireI64
impl RemAssign for WireI64
Source§fn rem_assign(&mut self, other: WireI64)
fn rem_assign(&mut self, other: WireI64)
Performs the
%=
operation. Read moreSource§impl ShlAssign<&WireI64> for WireI64
impl ShlAssign<&WireI64> for WireI64
Source§fn shl_assign(&mut self, other: &WireI64)
fn shl_assign(&mut self, other: &WireI64)
Performs the
<<=
operation. Read moreSource§impl ShlAssign<&i64> for WireI64
impl ShlAssign<&i64> for WireI64
Source§fn shl_assign(&mut self, other: &i64)
fn shl_assign(&mut self, other: &i64)
Performs the
<<=
operation. Read moreSource§impl ShlAssign<i64> for WireI64
impl ShlAssign<i64> for WireI64
Source§fn shl_assign(&mut self, other: i64)
fn shl_assign(&mut self, other: i64)
Performs the
<<=
operation. Read moreSource§impl ShlAssign for WireI64
impl ShlAssign for WireI64
Source§fn shl_assign(&mut self, other: WireI64)
fn shl_assign(&mut self, other: WireI64)
Performs the
<<=
operation. Read moreSource§impl ShrAssign<&WireI64> for WireI64
impl ShrAssign<&WireI64> for WireI64
Source§fn shr_assign(&mut self, other: &WireI64)
fn shr_assign(&mut self, other: &WireI64)
Performs the
>>=
operation. Read moreSource§impl ShrAssign<&i64> for WireI64
impl ShrAssign<&i64> for WireI64
Source§fn shr_assign(&mut self, other: &i64)
fn shr_assign(&mut self, other: &i64)
Performs the
>>=
operation. Read moreSource§impl ShrAssign<i64> for WireI64
impl ShrAssign<i64> for WireI64
Source§fn shr_assign(&mut self, other: i64)
fn shr_assign(&mut self, other: i64)
Performs the
>>=
operation. Read moreSource§impl ShrAssign for WireI64
impl ShrAssign for WireI64
Source§fn shr_assign(&mut self, other: WireI64)
fn shr_assign(&mut self, other: WireI64)
Performs the
>>=
operation. Read moreSource§impl SubAssign<&WireI64> for WireI64
impl SubAssign<&WireI64> for WireI64
Source§fn sub_assign(&mut self, other: &WireI64)
fn sub_assign(&mut self, other: &WireI64)
Performs the
-=
operation. Read moreSource§impl SubAssign<&i64> for WireI64
impl SubAssign<&i64> for WireI64
Source§fn sub_assign(&mut self, other: &i64)
fn sub_assign(&mut self, other: &i64)
Performs the
-=
operation. Read moreSource§impl SubAssign<i64> for WireI64
impl SubAssign<i64> for WireI64
Source§fn sub_assign(&mut self, other: i64)
fn sub_assign(&mut self, other: i64)
Performs the
-=
operation. Read moreSource§impl SubAssign for WireI64
impl SubAssign for WireI64
Source§fn sub_assign(&mut self, other: WireI64)
fn sub_assign(&mut self, other: WireI64)
Performs the
-=
operation. Read moreSource§impl TakeFrom<WireI64> for WireI64
impl TakeFrom<WireI64> for WireI64
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 TakeFrom<WireI64> for i64
impl TakeFrom<WireI64> for i64
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 TryFromBytes for WireI64where
i64: TryFromBytes,
impl TryFromBytes for WireI64where
i64: TryFromBytes,
§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§impl ZeroPadding for WireI64
impl ZeroPadding for WireI64
Source§unsafe fn zero_padding(_: *mut Self)
unsafe fn zero_padding(_: *mut Self)
Writes zeroes to the padding for this type, if any. Read more
impl Copy for WireI64
impl Eq for WireI64
Auto Trait Implementations§
impl Freeze for WireI64
impl RefUnwindSafe for WireI64
impl Send for WireI64
impl Sync for WireI64
impl Unpin for WireI64
impl UnwindSafe for WireI64
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