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