#[repr(transparent)]pub struct AutoPad(pub u8);
Tuple Fields§
§0: u8
Implementations§
Trait Implementations§
Source§impl EndianScalar for AutoPad
impl EndianScalar for AutoPad
Source§impl Ord for AutoPad
impl Ord for AutoPad
Source§impl PartialOrd for AutoPad
impl PartialOrd for AutoPad
Source§impl<'a> Verifiable for AutoPad
impl<'a> Verifiable for AutoPad
Source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos
in the verifier’s buffer.
Should not need to be called directly.impl Copy for AutoPad
impl Eq for AutoPad
impl SimpleToVerifyInSlice for AutoPad
impl StructuralPartialEq for AutoPad
Auto Trait Implementations§
impl Freeze for AutoPad
impl RefUnwindSafe for AutoPad
impl Send for AutoPad
impl Sync for AutoPad
impl Unpin for AutoPad
impl UnwindSafe for AutoPad
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more