#[repr(C, packed(1))]pub struct i128_ule(/* private fields */);
Expand description
A little-endian unaligned i128
with a guaranteed size of 16
and alignment of 1
.
Implementations§
Trait Implementations§
source§impl AddAssign<&i128> for i128_ule
impl AddAssign<&i128> for i128_ule
source§fn add_assign(&mut self, other: &i128)
fn add_assign(&mut self, other: &i128)
Performs the
+=
operation. Read moresource§impl AddAssign<&i128_ule> for i128_ule
impl AddAssign<&i128_ule> for i128_ule
source§fn add_assign(&mut self, other: &i128_ule)
fn add_assign(&mut self, other: &i128_ule)
Performs the
+=
operation. Read moresource§impl AddAssign<i128> for i128_ule
impl AddAssign<i128> for i128_ule
source§fn add_assign(&mut self, other: i128)
fn add_assign(&mut self, other: i128)
Performs the
+=
operation. Read moresource§impl AddAssign for i128_ule
impl AddAssign for i128_ule
source§fn add_assign(&mut self, other: i128_ule)
fn add_assign(&mut self, other: i128_ule)
Performs the
+=
operation. Read moresource§impl BitAndAssign<&i128> for i128_ule
impl BitAndAssign<&i128> for i128_ule
source§fn bitand_assign(&mut self, other: &i128)
fn bitand_assign(&mut self, other: &i128)
Performs the
&=
operation. Read moresource§impl BitAndAssign<&i128_ule> for i128_ule
impl BitAndAssign<&i128_ule> for i128_ule
source§fn bitand_assign(&mut self, other: &i128_ule)
fn bitand_assign(&mut self, other: &i128_ule)
Performs the
&=
operation. Read moresource§impl BitAndAssign<i128> for i128_ule
impl BitAndAssign<i128> for i128_ule
source§fn bitand_assign(&mut self, other: i128)
fn bitand_assign(&mut self, other: i128)
Performs the
&=
operation. Read moresource§impl BitAndAssign for i128_ule
impl BitAndAssign for i128_ule
source§fn bitand_assign(&mut self, other: i128_ule)
fn bitand_assign(&mut self, other: i128_ule)
Performs the
&=
operation. Read moresource§impl BitOrAssign<&i128> for i128_ule
impl BitOrAssign<&i128> for i128_ule
source§fn bitor_assign(&mut self, other: &i128)
fn bitor_assign(&mut self, other: &i128)
Performs the
|=
operation. Read moresource§impl BitOrAssign<&i128_ule> for i128_ule
impl BitOrAssign<&i128_ule> for i128_ule
source§fn bitor_assign(&mut self, other: &i128_ule)
fn bitor_assign(&mut self, other: &i128_ule)
Performs the
|=
operation. Read moresource§impl BitOrAssign<i128> for i128_ule
impl BitOrAssign<i128> for i128_ule
source§fn bitor_assign(&mut self, other: i128)
fn bitor_assign(&mut self, other: i128)
Performs the
|=
operation. Read moresource§impl BitOrAssign for i128_ule
impl BitOrAssign for i128_ule
source§fn bitor_assign(&mut self, other: i128_ule)
fn bitor_assign(&mut self, other: i128_ule)
Performs the
|=
operation. Read moresource§impl BitXorAssign<&i128> for i128_ule
impl BitXorAssign<&i128> for i128_ule
source§fn bitxor_assign(&mut self, other: &i128)
fn bitxor_assign(&mut self, other: &i128)
Performs the
^=
operation. Read moresource§impl BitXorAssign<&i128_ule> for i128_ule
impl BitXorAssign<&i128_ule> for i128_ule
source§fn bitxor_assign(&mut self, other: &i128_ule)
fn bitxor_assign(&mut self, other: &i128_ule)
Performs the
^=
operation. Read moresource§impl BitXorAssign<i128> for i128_ule
impl BitXorAssign<i128> for i128_ule
source§fn bitxor_assign(&mut self, other: i128)
fn bitxor_assign(&mut self, other: i128)
Performs the
^=
operation. Read moresource§impl BitXorAssign for i128_ule
impl BitXorAssign for i128_ule
source§fn bitxor_assign(&mut self, other: i128_ule)
fn bitxor_assign(&mut self, other: i128_ule)
Performs the
^=
operation. Read moresource§impl DivAssign<&i128> for i128_ule
impl DivAssign<&i128> for i128_ule
source§fn div_assign(&mut self, other: &i128)
fn div_assign(&mut self, other: &i128)
Performs the
/=
operation. Read moresource§impl DivAssign<&i128_ule> for i128_ule
impl DivAssign<&i128_ule> for i128_ule
source§fn div_assign(&mut self, other: &i128_ule)
fn div_assign(&mut self, other: &i128_ule)
Performs the
/=
operation. Read moresource§impl DivAssign<i128> for i128_ule
impl DivAssign<i128> for i128_ule
source§fn div_assign(&mut self, other: i128)
fn div_assign(&mut self, other: i128)
Performs the
/=
operation. Read moresource§impl DivAssign for i128_ule
impl DivAssign for i128_ule
source§fn div_assign(&mut self, other: i128_ule)
fn div_assign(&mut self, other: i128_ule)
Performs the
/=
operation. Read moresource§impl FromBytes for i128_ulewhere
i128: FromBytes,
impl FromBytes for i128_ulewhere
i128: FromBytes,
§fn ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
fn ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
§fn ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
fn ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
§fn ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: Immutable + KnownLayout,
fn ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: Immutable + KnownLayout,
Interprets the suffix of the given bytes as a
&Self
. Read more§fn mut_from_bytes(
source: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
fn mut_from_bytes(
source: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
§fn mut_from_prefix(
source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
fn mut_from_prefix(
source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
§fn mut_from_suffix(
source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
fn mut_from_suffix(
source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
source§impl IntoBytes for i128_ulewhere
i128: IntoBytes,
impl IntoBytes for i128_ulewhere
i128: IntoBytes,
§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
§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
source§impl KnownLayout for i128_ulewhere
i128: KnownLayout,
impl KnownLayout for i128_ulewhere
i128: KnownLayout,
§type PointerMetadata = <i128 as KnownLayout>::PointerMetadata
type PointerMetadata = <i128 as KnownLayout>::PointerMetadata
The type of metadata stored in a pointer to
Self
. Read moresource§impl MulAssign<&i128> for i128_ule
impl MulAssign<&i128> for i128_ule
source§fn mul_assign(&mut self, other: &i128)
fn mul_assign(&mut self, other: &i128)
Performs the
*=
operation. Read moresource§impl MulAssign<&i128_ule> for i128_ule
impl MulAssign<&i128_ule> for i128_ule
source§fn mul_assign(&mut self, other: &i128_ule)
fn mul_assign(&mut self, other: &i128_ule)
Performs the
*=
operation. Read moresource§impl MulAssign<i128> for i128_ule
impl MulAssign<i128> for i128_ule
source§fn mul_assign(&mut self, other: i128)
fn mul_assign(&mut self, other: i128)
Performs the
*=
operation. Read moresource§impl MulAssign for i128_ule
impl MulAssign for i128_ule
source§fn mul_assign(&mut self, other: i128_ule)
fn mul_assign(&mut self, other: i128_ule)
Performs the
*=
operation. Read moresource§impl Ord for i128_ule
impl Ord for i128_ule
source§impl PartialEq<i128> for i128_ule
impl PartialEq<i128> for i128_ule
source§impl PartialEq<i128_ule> for i128
impl PartialEq<i128_ule> for i128
source§impl PartialEq for i128_ule
impl PartialEq for i128_ule
source§impl PartialOrd<i128> for i128_ule
impl PartialOrd<i128> for i128_ule
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl PartialOrd for i128_ule
impl PartialOrd for i128_ule
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RemAssign<&i128> for i128_ule
impl RemAssign<&i128> for i128_ule
source§fn rem_assign(&mut self, other: &i128)
fn rem_assign(&mut self, other: &i128)
Performs the
%=
operation. Read moresource§impl RemAssign<&i128_ule> for i128_ule
impl RemAssign<&i128_ule> for i128_ule
source§fn rem_assign(&mut self, other: &i128_ule)
fn rem_assign(&mut self, other: &i128_ule)
Performs the
%=
operation. Read moresource§impl RemAssign<i128> for i128_ule
impl RemAssign<i128> for i128_ule
source§fn rem_assign(&mut self, other: i128)
fn rem_assign(&mut self, other: i128)
Performs the
%=
operation. Read moresource§impl RemAssign for i128_ule
impl RemAssign for i128_ule
source§fn rem_assign(&mut self, other: i128_ule)
fn rem_assign(&mut self, other: i128_ule)
Performs the
%=
operation. Read moresource§impl ShlAssign<&i128> for i128_ule
impl ShlAssign<&i128> for i128_ule
source§fn shl_assign(&mut self, other: &i128)
fn shl_assign(&mut self, other: &i128)
Performs the
<<=
operation. Read moresource§impl ShlAssign<&i128_ule> for i128_ule
impl ShlAssign<&i128_ule> for i128_ule
source§fn shl_assign(&mut self, other: &i128_ule)
fn shl_assign(&mut self, other: &i128_ule)
Performs the
<<=
operation. Read moresource§impl ShlAssign<i128> for i128_ule
impl ShlAssign<i128> for i128_ule
source§fn shl_assign(&mut self, other: i128)
fn shl_assign(&mut self, other: i128)
Performs the
<<=
operation. Read moresource§impl ShlAssign for i128_ule
impl ShlAssign for i128_ule
source§fn shl_assign(&mut self, other: i128_ule)
fn shl_assign(&mut self, other: i128_ule)
Performs the
<<=
operation. Read moresource§impl ShrAssign<&i128> for i128_ule
impl ShrAssign<&i128> for i128_ule
source§fn shr_assign(&mut self, other: &i128)
fn shr_assign(&mut self, other: &i128)
Performs the
>>=
operation. Read moresource§impl ShrAssign<&i128_ule> for i128_ule
impl ShrAssign<&i128_ule> for i128_ule
source§fn shr_assign(&mut self, other: &i128_ule)
fn shr_assign(&mut self, other: &i128_ule)
Performs the
>>=
operation. Read moresource§impl ShrAssign<i128> for i128_ule
impl ShrAssign<i128> for i128_ule
source§fn shr_assign(&mut self, other: i128)
fn shr_assign(&mut self, other: i128)
Performs the
>>=
operation. Read moresource§impl ShrAssign for i128_ule
impl ShrAssign for i128_ule
source§fn shr_assign(&mut self, other: i128_ule)
fn shr_assign(&mut self, other: i128_ule)
Performs the
>>=
operation. Read moresource§impl SubAssign<&i128> for i128_ule
impl SubAssign<&i128> for i128_ule
source§fn sub_assign(&mut self, other: &i128)
fn sub_assign(&mut self, other: &i128)
Performs the
-=
operation. Read moresource§impl SubAssign<&i128_ule> for i128_ule
impl SubAssign<&i128_ule> for i128_ule
source§fn sub_assign(&mut self, other: &i128_ule)
fn sub_assign(&mut self, other: &i128_ule)
Performs the
-=
operation. Read moresource§impl SubAssign<i128> for i128_ule
impl SubAssign<i128> for i128_ule
source§fn sub_assign(&mut self, other: i128)
fn sub_assign(&mut self, other: i128)
Performs the
-=
operation. Read moresource§impl SubAssign for i128_ule
impl SubAssign for i128_ule
source§fn sub_assign(&mut self, other: i128_ule)
fn sub_assign(&mut self, other: i128_ule)
Performs the
-=
operation. Read moresource§impl TryFromBytes for i128_ulewhere
i128: TryFromBytes,
impl TryFromBytes for i128_ulewhere
i128: TryFromBytes,
§fn try_ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
fn try_ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
§fn try_ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
fn try_ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
§fn try_ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
fn try_ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
§fn try_mut_from_bytes(
bytes: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout,
fn try_mut_from_bytes(
bytes: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout,
§fn try_mut_from_prefix(
source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout,
fn try_mut_from_prefix(
source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout,
§fn try_mut_from_suffix(
source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout,
fn try_mut_from_suffix(
source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout,
§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,
impl Copy for i128_ule
impl Eq for i128_ule
impl Immutable for i128_ulewhere
i128: Immutable,
impl Unaligned for i128_ule
Auto Trait Implementations§
impl Freeze for i128_ule
impl RefUnwindSafe for i128_ule
impl Send for i128_ule
impl Sync for i128_ule
impl Unpin for i128_ule
impl UnwindSafe for i128_ule
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)