#[repr(transparent)]pub struct ResizeMode(pub u8);
Tuple Fields§
§0: u8
Implementations§
Trait Implementations§
Source§impl Clone for ResizeMode
impl Clone for ResizeMode
Source§fn clone(&self) -> ResizeMode
fn clone(&self) -> ResizeMode
Returns a duplicate 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 ResizeMode
impl Debug for ResizeMode
Source§impl Default for ResizeMode
impl Default for ResizeMode
Source§fn default() -> ResizeMode
fn default() -> ResizeMode
Returns the “default value” for a type. Read more
Source§impl EndianScalar for ResizeMode
impl EndianScalar for ResizeMode
Source§impl<'a> Follow<'a> for ResizeMode
impl<'a> Follow<'a> for ResizeMode
Source§impl Hash for ResizeMode
impl Hash for ResizeMode
Source§impl Ord for ResizeMode
impl Ord for ResizeMode
Source§fn cmp(&self, other: &ResizeMode) -> Ordering
fn cmp(&self, other: &ResizeMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ResizeMode
impl PartialEq for ResizeMode
Source§impl PartialOrd for ResizeMode
impl PartialOrd for ResizeMode
Source§impl Push for ResizeMode
impl Push for ResizeMode
Source§impl<'a> Verifiable for ResizeMode
impl<'a> Verifiable for ResizeMode
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 ResizeMode
impl Eq for ResizeMode
impl SimpleToVerifyInSlice for ResizeMode
impl StructuralPartialEq for ResizeMode
Auto Trait Implementations§
impl Freeze for ResizeMode
impl RefUnwindSafe for ResizeMode
impl Send for ResizeMode
impl Sync for ResizeMode
impl Unpin for ResizeMode
impl UnwindSafe for ResizeMode
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