#[repr(C, align(8))]pub struct Int64(pub i64);Expand description
A wire-encoded i64
Tuple Fields§
§0: i64Trait Implementations§
Source§impl AddAssign<&Int64> for Int64
impl AddAssign<&Int64> for Int64
Source§fn add_assign(&mut self, other: &Int64)
fn add_assign(&mut self, other: &Int64)
Performs the
+= operation. Read moreSource§impl AddAssign<&i64> for Int64
impl AddAssign<&i64> for Int64
Source§fn add_assign(&mut self, other: &i64)
fn add_assign(&mut self, other: &i64)
Performs the
+= operation. Read moreSource§impl AddAssign<i64> for Int64
impl AddAssign<i64> for Int64
Source§fn add_assign(&mut self, other: i64)
fn add_assign(&mut self, other: i64)
Performs the
+= operation. Read moreSource§impl AddAssign for Int64
impl AddAssign for Int64
Source§fn add_assign(&mut self, other: Int64)
fn add_assign(&mut self, other: Int64)
Performs the
+= operation. Read moreSource§impl BitAndAssign<&Int64> for Int64
impl BitAndAssign<&Int64> for Int64
Source§fn bitand_assign(&mut self, other: &Int64)
fn bitand_assign(&mut self, other: &Int64)
Performs the
&= operation. Read moreSource§impl BitAndAssign<&i64> for Int64
impl BitAndAssign<&i64> for Int64
Source§fn bitand_assign(&mut self, other: &i64)
fn bitand_assign(&mut self, other: &i64)
Performs the
&= operation. Read moreSource§impl BitAndAssign<i64> for Int64
impl BitAndAssign<i64> for Int64
Source§fn bitand_assign(&mut self, other: i64)
fn bitand_assign(&mut self, other: i64)
Performs the
&= operation. Read moreSource§impl BitAndAssign for Int64
impl BitAndAssign for Int64
Source§fn bitand_assign(&mut self, other: Int64)
fn bitand_assign(&mut self, other: Int64)
Performs the
&= operation. Read moreSource§impl BitOrAssign<&Int64> for Int64
impl BitOrAssign<&Int64> for Int64
Source§fn bitor_assign(&mut self, other: &Int64)
fn bitor_assign(&mut self, other: &Int64)
Performs the
|= operation. Read moreSource§impl BitOrAssign<&i64> for Int64
impl BitOrAssign<&i64> for Int64
Source§fn bitor_assign(&mut self, other: &i64)
fn bitor_assign(&mut self, other: &i64)
Performs the
|= operation. Read moreSource§impl BitOrAssign<i64> for Int64
impl BitOrAssign<i64> for Int64
Source§fn bitor_assign(&mut self, other: i64)
fn bitor_assign(&mut self, other: i64)
Performs the
|= operation. Read moreSource§impl BitOrAssign for Int64
impl BitOrAssign for Int64
Source§fn bitor_assign(&mut self, other: Int64)
fn bitor_assign(&mut self, other: Int64)
Performs the
|= operation. Read moreSource§impl BitXorAssign<&Int64> for Int64
impl BitXorAssign<&Int64> for Int64
Source§fn bitxor_assign(&mut self, other: &Int64)
fn bitxor_assign(&mut self, other: &Int64)
Performs the
^= operation. Read moreSource§impl BitXorAssign<&i64> for Int64
impl BitXorAssign<&i64> for Int64
Source§fn bitxor_assign(&mut self, other: &i64)
fn bitxor_assign(&mut self, other: &i64)
Performs the
^= operation. Read moreSource§impl BitXorAssign<i64> for Int64
impl BitXorAssign<i64> for Int64
Source§fn bitxor_assign(&mut self, other: i64)
fn bitxor_assign(&mut self, other: i64)
Performs the
^= operation. Read moreSource§impl BitXorAssign for Int64
impl BitXorAssign for Int64
Source§fn bitxor_assign(&mut self, other: Int64)
fn bitxor_assign(&mut self, other: Int64)
Performs the
^= operation. Read moreSource§impl Constrained for Int64
impl Constrained for Int64
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§fn validate(
_: Slot<'_, Self>,
_: Self::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, Self>, _: Self::Constraint, ) -> Result<(), ValidationError>
Validate a slot of this type against a constraint. Can be called when
pointers/envelopes are just presence markers.
Source§impl DivAssign<&Int64> for Int64
impl DivAssign<&Int64> for Int64
Source§fn div_assign(&mut self, other: &Int64)
fn div_assign(&mut self, other: &Int64)
Performs the
/= operation. Read moreSource§impl DivAssign<&i64> for Int64
impl DivAssign<&i64> for Int64
Source§fn div_assign(&mut self, other: &i64)
fn div_assign(&mut self, other: &i64)
Performs the
/= operation. Read moreSource§impl DivAssign<i64> for Int64
impl DivAssign<i64> for Int64
Source§fn div_assign(&mut self, other: i64)
fn div_assign(&mut self, other: i64)
Performs the
/= operation. Read moreSource§impl DivAssign for Int64
impl DivAssign for Int64
Source§fn div_assign(&mut self, other: Int64)
fn div_assign(&mut self, other: Int64)
Performs the
/= operation. Read moreSource§impl<E: ?Sized> Encode<Int64, E> for &Int64
impl<E: ?Sized> Encode<Int64, E> for &Int64
Source§fn encode(
self,
_: &mut E,
out: &mut MaybeUninit<Int64>,
_: <Int64 as Constrained>::Constraint,
) -> Result<(), EncodeError>
fn encode( self, _: &mut E, out: &mut MaybeUninit<Int64>, _: <Int64 as Constrained>::Constraint, ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<E: ?Sized> Encode<Int64, E> for &i64
impl<E: ?Sized> Encode<Int64, E> for &i64
Source§fn encode(
self,
_: &mut E,
out: &mut MaybeUninit<Int64>,
_: <Int64 as Constrained>::Constraint,
) -> Result<(), EncodeError>
fn encode( self, _: &mut E, out: &mut MaybeUninit<Int64>, _: <Int64 as Constrained>::Constraint, ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<E: ?Sized> Encode<Int64, E> for Int64
impl<E: ?Sized> Encode<Int64, E> for Int64
Source§const COPY_OPTIMIZATION: CopyOptimization<Int64, Int64> = crate::CopyOptimization<Int64, Int64>::PRIMITIVE
const COPY_OPTIMIZATION: CopyOptimization<Int64, Int64> = crate::CopyOptimization<Int64, Int64>::PRIMITIVE
Source§fn encode(
self,
encoder: &mut E,
out: &mut MaybeUninit<Int64>,
constraint: <Int64 as Constrained>::Constraint,
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut E, out: &mut MaybeUninit<Int64>, constraint: <Int64 as Constrained>::Constraint, ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§impl<E: ?Sized> Encode<Int64, E> for i64
impl<E: ?Sized> Encode<Int64, E> for i64
Source§const COPY_OPTIMIZATION: CopyOptimization<i64, Int64> = crate::CopyOptimization<i64, Int64>::PRIMITIVE
const COPY_OPTIMIZATION: CopyOptimization<i64, Int64> = crate::CopyOptimization<i64, Int64>::PRIMITIVE
Source§fn encode(
self,
encoder: &mut E,
out: &mut MaybeUninit<Int64>,
constraint: <Int64 as Constrained>::Constraint,
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut E, out: &mut MaybeUninit<Int64>, constraint: <Int64 as Constrained>::Constraint, ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§impl<E> EncodeOption<Box<'static, Int64>, E> for &Int64
impl<E> EncodeOption<Box<'static, Int64>, E> for &Int64
Source§fn encode_option(
this: Option<Self>,
encoder: &mut E,
out: &mut MaybeUninit<Box<'static, Int64>>,
constraint: <Int64 as Constrained>::Constraint,
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut E, out: &mut MaybeUninit<Box<'static, Int64>>, constraint: <Int64 as Constrained>::Constraint, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<E> EncodeOption<Box<'static, Int64>, E> for Int64
impl<E> EncodeOption<Box<'static, Int64>, E> for Int64
Source§fn encode_option(
this: Option<Self>,
encoder: &mut E,
out: &mut MaybeUninit<Box<'static, Int64>>,
constraint: <Int64 as Constrained>::Constraint,
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut E, out: &mut MaybeUninit<Box<'static, Int64>>, constraint: <Int64 as Constrained>::Constraint, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl FromBytes for Int64
impl FromBytes for Int64
Source§impl FromWireRef<Int64> for i64
impl FromWireRef<Int64> for i64
Source§fn from_wire_ref(wire: &Int64) -> Self
fn from_wire_ref(wire: &Int64) -> Self
Converts the given reference to this type.
Source§impl FromZeros for Int64
impl FromZeros for Int64
Source§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere
Self: Sized,
Creates an instance of
Self from zeroed bytes. Read moreSource§fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
Creates a
Box<Self> from zeroed bytes. Read moreSource§fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
Creates a
Vec<Self> from zeroed bytes. Read moreSource§fn extend_vec_zeroed(
v: &mut Vec<Self>,
additional: usize,
) -> Result<(), AllocError>where
Self: Sized,
fn extend_vec_zeroed(
v: &mut Vec<Self>,
additional: usize,
) -> Result<(), AllocError>where
Self: Sized,
Extends a
Vec<Self> by pushing additional new items onto the end of
the vector. The new items are initialized with zeros.Source§impl IntoNatural for Int64
impl IntoNatural for Int64
Source§impl MulAssign<&Int64> for Int64
impl MulAssign<&Int64> for Int64
Source§fn mul_assign(&mut self, other: &Int64)
fn mul_assign(&mut self, other: &Int64)
Performs the
*= operation. Read moreSource§impl MulAssign<&i64> for Int64
impl MulAssign<&i64> for Int64
Source§fn mul_assign(&mut self, other: &i64)
fn mul_assign(&mut self, other: &i64)
Performs the
*= operation. Read moreSource§impl MulAssign<i64> for Int64
impl MulAssign<i64> for Int64
Source§fn mul_assign(&mut self, other: i64)
fn mul_assign(&mut self, other: i64)
Performs the
*= operation. Read moreSource§impl MulAssign for Int64
impl MulAssign for Int64
Source§fn mul_assign(&mut self, other: Int64)
fn mul_assign(&mut self, other: Int64)
Performs the
*= operation. Read moreSource§impl Ord for Int64
impl Ord for Int64
Source§impl PartialOrd<i64> for Int64
impl PartialOrd<i64> for Int64
Source§impl PartialOrd for Int64
impl PartialOrd for Int64
Source§impl RemAssign<&Int64> for Int64
impl RemAssign<&Int64> for Int64
Source§fn rem_assign(&mut self, other: &Int64)
fn rem_assign(&mut self, other: &Int64)
Performs the
%= operation. Read moreSource§impl RemAssign<&i64> for Int64
impl RemAssign<&i64> for Int64
Source§fn rem_assign(&mut self, other: &i64)
fn rem_assign(&mut self, other: &i64)
Performs the
%= operation. Read moreSource§impl RemAssign<i64> for Int64
impl RemAssign<i64> for Int64
Source§fn rem_assign(&mut self, other: i64)
fn rem_assign(&mut self, other: i64)
Performs the
%= operation. Read moreSource§impl RemAssign for Int64
impl RemAssign for Int64
Source§fn rem_assign(&mut self, other: Int64)
fn rem_assign(&mut self, other: Int64)
Performs the
%= operation. Read moreSource§impl ShlAssign<&Int64> for Int64
impl ShlAssign<&Int64> for Int64
Source§fn shl_assign(&mut self, other: &Int64)
fn shl_assign(&mut self, other: &Int64)
Performs the
<<= operation. Read moreSource§impl ShlAssign<&i64> for Int64
impl ShlAssign<&i64> for Int64
Source§fn shl_assign(&mut self, other: &i64)
fn shl_assign(&mut self, other: &i64)
Performs the
<<= operation. Read moreSource§impl ShlAssign<i64> for Int64
impl ShlAssign<i64> for Int64
Source§fn shl_assign(&mut self, other: i64)
fn shl_assign(&mut self, other: i64)
Performs the
<<= operation. Read moreSource§impl ShlAssign for Int64
impl ShlAssign for Int64
Source§fn shl_assign(&mut self, other: Int64)
fn shl_assign(&mut self, other: Int64)
Performs the
<<= operation. Read moreSource§impl ShrAssign<&Int64> for Int64
impl ShrAssign<&Int64> for Int64
Source§fn shr_assign(&mut self, other: &Int64)
fn shr_assign(&mut self, other: &Int64)
Performs the
>>= operation. Read moreSource§impl ShrAssign<&i64> for Int64
impl ShrAssign<&i64> for Int64
Source§fn shr_assign(&mut self, other: &i64)
fn shr_assign(&mut self, other: &i64)
Performs the
>>= operation. Read moreSource§impl ShrAssign<i64> for Int64
impl ShrAssign<i64> for Int64
Source§fn shr_assign(&mut self, other: i64)
fn shr_assign(&mut self, other: i64)
Performs the
>>= operation. Read moreSource§impl ShrAssign for Int64
impl ShrAssign for Int64
Source§fn shr_assign(&mut self, other: Int64)
fn shr_assign(&mut self, other: Int64)
Performs the
>>= operation. Read moreSource§impl SubAssign<&Int64> for Int64
impl SubAssign<&Int64> for Int64
Source§fn sub_assign(&mut self, other: &Int64)
fn sub_assign(&mut self, other: &Int64)
Performs the
-= operation. Read moreSource§impl SubAssign<&i64> for Int64
impl SubAssign<&i64> for Int64
Source§fn sub_assign(&mut self, other: &i64)
fn sub_assign(&mut self, other: &i64)
Performs the
-= operation. Read moreSource§impl SubAssign<i64> for Int64
impl SubAssign<i64> for Int64
Source§fn sub_assign(&mut self, other: i64)
fn sub_assign(&mut self, other: i64)
Performs the
-= operation. Read moreSource§impl SubAssign for Int64
impl SubAssign for Int64
Source§fn sub_assign(&mut self, other: Int64)
fn sub_assign(&mut self, other: Int64)
Performs the
-= operation. Read moreSource§impl TryFromBytes for Int64where
i64: TryFromBytes,
impl TryFromBytes for Int64where
i64: TryFromBytes,
Source§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,
Source§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,
Source§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 Wire for Int64
impl Wire for Int64
Source§fn zero_padding(_: &mut MaybeUninit<Self>)
fn zero_padding(_: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
impl Copy for Int64
impl Eq for Int64
Auto Trait Implementations§
impl Freeze for Int64
impl RefUnwindSafe for Int64
impl Send for Int64
impl Sync for Int64
impl Unpin for Int64
impl UnwindSafe for Int64
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