#[repr(u32)]pub enum Uint32Limits {
Min = 0,
Max = 4_294_967_295,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for Uint32Limits
impl Clone for Uint32Limits
Source§fn clone(&self) -> Uint32Limits
fn clone(&self) -> Uint32Limits
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 Uint32Limits
Source§impl Debug for Uint32Limits
impl Debug for Uint32Limits
impl Eq for Uint32Limits
Source§impl From<Uint32Limits> for u32
impl From<Uint32Limits> for u32
Source§fn from(val: Uint32Limits) -> Self
fn from(val: Uint32Limits) -> Self
Converts to this type from the input type.
Source§impl Hash for Uint32Limits
impl Hash for Uint32Limits
impl IntoBytes for Uint32Limitswhere
(): PaddingFree<Self, { _ }>,
Source§impl PartialEq for Uint32Limits
impl PartialEq for Uint32Limits
Source§fn eq(&self, other: &Uint32Limits) -> bool
fn eq(&self, other: &Uint32Limits) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Uint32Limits
Source§impl TryFromBytes for Uint32Limits
impl TryFromBytes for Uint32Limits
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 Uint32Limits
impl RefUnwindSafe for Uint32Limits
impl Send for Uint32Limits
impl Sync for Uint32Limits
impl Unpin for Uint32Limits
impl UnsafeUnpin for Uint32Limits
impl UnwindSafe for Uint32Limits
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