#[repr(i8)]pub enum Int8Limits {
Min = -128,
Max = 127,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for Int8Limits
impl Clone for Int8Limits
impl Copy for Int8Limits
Source§impl Debug for Int8Limits
impl Debug for Int8Limits
impl Eq for Int8Limits
Source§impl From<Int8Limits> for i8
impl From<Int8Limits> for i8
Source§fn from(val: Int8Limits) -> Self
fn from(val: Int8Limits) -> Self
Converts to this type from the input type.
Source§impl Hash for Int8Limits
impl Hash for Int8Limits
impl Immutable for Int8Limits
Source§impl IntoBytes for Int8Limitswhere
(): PaddingFree<Self, { _ }>,
impl IntoBytes for Int8Limitswhere
(): PaddingFree<Self, { _ }>,
Source§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§fn write_to_prefix(
&self,
dst: &mut [u8],
) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to_prefix(
&self,
dst: &mut [u8],
) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl PartialEq for Int8Limits
impl PartialEq for Int8Limits
impl StructuralPartialEq for Int8Limits
Source§impl TryFromBytes for Int8Limits
impl TryFromBytes for Int8Limits
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Auto Trait Implementations§
impl Freeze for Int8Limits
impl RefUnwindSafe for Int8Limits
impl Send for Int8Limits
impl Sync for Int8Limits
impl Unpin for Int8Limits
impl UnsafeUnpin for Int8Limits
impl UnwindSafe for Int8Limits
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