#[repr(u8)]pub enum BackrefRevision {
Old = 0,
Mixed = 1,
}
Variants§
Trait Implementations§
Source§impl Clone for BackrefRevision
impl Clone for BackrefRevision
Source§fn clone(&self) -> BackrefRevision
fn clone(&self) -> BackrefRevision
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BackrefRevision
impl Debug for BackrefRevision
Source§impl From<BackrefRevision> for u8
impl From<BackrefRevision> for u8
Source§fn from(enum_value: BackrefRevision) -> Self
fn from(enum_value: BackrefRevision) -> Self
Converts to this type from the input type.
Source§impl Hash for BackrefRevision
impl Hash for BackrefRevision
Source§impl IntoEnumIterator for BackrefRevision
impl IntoEnumIterator for BackrefRevision
type Iterator = BackrefRevisionIter
fn iter() -> BackrefRevisionIter ⓘ
Source§impl KnownLayout for BackrefRevisionwhere
Self: Sized,
impl KnownLayout for BackrefRevisionwhere
Self: Sized,
Source§type PointerMetadata = ()
type PointerMetadata = ()
The type of metadata stored in a pointer to
Self
. Read moreSource§impl PartialEq for BackrefRevision
impl PartialEq for BackrefRevision
Source§impl TryFrom<u8> for BackrefRevision
impl TryFrom<u8> for BackrefRevision
Source§type Error = TryFromPrimitiveError<BackrefRevision>
type Error = TryFromPrimitiveError<BackrefRevision>
The type returned in the event of a conversion error.
Source§impl TryFromBytes for BackrefRevision
impl TryFromBytes for BackrefRevision
Source§fn try_mut_from_bytes(
bytes: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout + IntoBytes,
fn try_mut_from_bytes(
bytes: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout + IntoBytes,
Source§fn try_mut_from_prefix(
source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout + IntoBytes,
fn try_mut_from_prefix(
source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout + IntoBytes,
Source§fn try_mut_from_suffix(
source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout + IntoBytes,
fn try_mut_from_suffix(
source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout + IntoBytes,
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,
Source§impl TryFromPrimitive for BackrefRevision
impl TryFromPrimitive for BackrefRevision
const NAME: &'static str = "BackrefRevision"
type Primitive = u8
type Error = TryFromPrimitiveError<BackrefRevision>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for BackrefRevision
impl IntoBytes for BackrefRevision
impl StructuralPartialEq for BackrefRevision
impl Unaligned for BackrefRevision
Auto Trait Implementations§
impl Freeze for BackrefRevision
impl RefUnwindSafe for BackrefRevision
impl Send for BackrefRevision
impl Sync for BackrefRevision
impl Unpin for BackrefRevision
impl UnwindSafe for BackrefRevision
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