#[repr(u64)]pub enum Uint64Limits {
Min = 0,
Max = 18_446_744_073_709_551_615,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for Uint64Limits
impl Clone for Uint64Limits
Source§fn clone(&self) -> Uint64Limits
fn clone(&self) -> Uint64Limits
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Uint64Limits
Source§impl Debug for Uint64Limits
impl Debug for Uint64Limits
impl Eq for Uint64Limits
Source§impl From<Uint64Limits> for u64
impl From<Uint64Limits> for u64
Source§fn from(val: Uint64Limits) -> Self
fn from(val: Uint64Limits) -> Self
Converts to this type from the input type.
Source§impl Hash for Uint64Limits
impl Hash for Uint64Limits
impl IntoBytes for Uint64Limitswhere
(): PaddingFree<Self, { _ }>,
Source§impl PartialEq for Uint64Limits
impl PartialEq for Uint64Limits
Source§fn eq(&self, other: &Uint64Limits) -> bool
fn eq(&self, other: &Uint64Limits) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Uint64Limits
Source§impl TryFromBytes for Uint64Limits
impl TryFromBytes for Uint64Limits
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,
Auto Trait Implementations§
impl Freeze for Uint64Limits
impl RefUnwindSafe for Uint64Limits
impl Send for Uint64Limits
impl Sync for Uint64Limits
impl Unpin for Uint64Limits
impl UnsafeUnpin for Uint64Limits
impl UnwindSafe for Uint64Limits
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