#[repr(transparent)]pub struct CoordTransformMode(pub u8);Tuple Fields§
§0: u8Implementations§
Source§impl CoordTransformMode
 
impl CoordTransformMode
pub const HalfPixel: Self
pub const Asymmetric: Self
pub const AlignCorners: Self
pub const PytorchHalfPixel: Self
pub const ENUM_MIN: u8 = 0u8
pub const ENUM_MAX: u8 = 3u8
pub const ENUM_VALUES: &'static [Self]
Sourcepub fn variant_name(self) -> Option<&'static str>
 
pub fn variant_name(self) -> Option<&'static str>
Returns the variant’s name or “” if unknown.
Trait Implementations§
Source§impl Clone for CoordTransformMode
 
impl Clone for CoordTransformMode
Source§fn clone(&self) -> CoordTransformMode
 
fn clone(&self) -> CoordTransformMode
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 CoordTransformMode
 
impl Debug for CoordTransformMode
Source§impl Default for CoordTransformMode
 
impl Default for CoordTransformMode
Source§fn default() -> CoordTransformMode
 
fn default() -> CoordTransformMode
Returns the “default value” for a type. Read more
Source§impl EndianScalar for CoordTransformMode
 
impl EndianScalar for CoordTransformMode
Source§impl<'a> Follow<'a> for CoordTransformMode
 
impl<'a> Follow<'a> for CoordTransformMode
Source§impl Hash for CoordTransformMode
 
impl Hash for CoordTransformMode
Source§impl Ord for CoordTransformMode
 
impl Ord for CoordTransformMode
Source§fn cmp(&self, other: &CoordTransformMode) -> Ordering
 
fn cmp(&self, other: &CoordTransformMode) -> 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 CoordTransformMode
 
impl PartialEq for CoordTransformMode
Source§impl PartialOrd for CoordTransformMode
 
impl PartialOrd for CoordTransformMode
Source§impl Push for CoordTransformMode
 
impl Push for CoordTransformMode
Source§impl<'a> Verifiable for CoordTransformMode
 
impl<'a> Verifiable for CoordTransformMode
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 CoordTransformMode
impl Eq for CoordTransformMode
impl SimpleToVerifyInSlice for CoordTransformMode
impl StructuralPartialEq for CoordTransformMode
Auto Trait Implementations§
impl Freeze for CoordTransformMode
impl RefUnwindSafe for CoordTransformMode
impl Send for CoordTransformMode
impl Sync for CoordTransformMode
impl Unpin for CoordTransformMode
impl UnwindSafe for CoordTransformMode
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