#[repr(transparent)]pub struct EasingType(pub i8);Tuple Fields§
§0: i8Implementations§
Source§impl EasingType
impl EasingType
pub const Linear: Self
pub const CubicBezier: Self
pub const Spring: Self
pub const Steps: Self
pub const CustomLinear: Self
pub const ENUM_MIN: i8 = 0
pub const ENUM_MAX: i8 = 4
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 EasingType
impl Clone for EasingType
Source§fn clone(&self) -> EasingType
fn clone(&self) -> EasingType
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 EasingType
impl Debug for EasingType
Source§impl Default for EasingType
impl Default for EasingType
Source§fn default() -> EasingType
fn default() -> EasingType
Returns the “default value” for a type. Read more
Source§impl EndianScalar for EasingType
impl EndianScalar for EasingType
Source§impl<'a> Follow<'a> for EasingType
impl<'a> Follow<'a> for EasingType
Source§impl Hash for EasingType
impl Hash for EasingType
Source§impl Ord for EasingType
impl Ord for EasingType
Source§fn cmp(&self, other: &EasingType) -> Ordering
fn cmp(&self, other: &EasingType) -> 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 EasingType
impl PartialEq for EasingType
Source§impl PartialOrd for EasingType
impl PartialOrd for EasingType
Source§impl Push for EasingType
impl Push for EasingType
Source§impl<'a> Verifiable for EasingType
impl<'a> Verifiable for EasingType
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 EasingType
impl Eq for EasingType
impl SimpleToVerifyInSlice for EasingType
impl StructuralPartialEq for EasingType
Auto Trait Implementations§
impl Freeze for EasingType
impl RefUnwindSafe for EasingType
impl Send for EasingType
impl Sync for EasingType
impl Unpin for EasingType
impl UnsafeUnpin for EasingType
impl UnwindSafe for EasingType
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