#[repr(i8)]pub enum Int8Limits {
Min = -128,
Max = 127,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for Int8Limits
impl Clone for Int8Limits
Source§fn clone(&self) -> Int8Limits
fn clone(&self) -> Int8Limits
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 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 IntoBytes for Int8Limitswhere
(): PaddingFree<Self, { _ }>,
Source§impl PartialEq for Int8Limits
impl PartialEq for Int8Limits
Source§fn eq(&self, other: &Int8Limits) -> bool
fn eq(&self, other: &Int8Limits) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Int8Limits
Source§impl TryFromBytes for Int8Limits
impl TryFromBytes for Int8Limits
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 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