#[repr(transparent)]pub struct SKActionTimingMode(pub NSInteger);Available on crate feature
SKAction only.Expand description
Adjust the timing of an action
animation to occur evenly over its duration.
animation to begin slowly, and then speed up as it progresses.
the animation to begin quickly, and then slow as it completes.
ease-in ease-out animation begins slowly, accelerates through the middle of its duration, and then slows again before completing.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Trait Implementations§
Source§impl Clone for SKActionTimingMode
impl Clone for SKActionTimingMode
Source§fn clone(&self) -> SKActionTimingMode
fn clone(&self) -> SKActionTimingMode
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 SKActionTimingMode
impl Debug for SKActionTimingMode
Source§impl Encode for SKActionTimingMode
impl Encode for SKActionTimingMode
Source§impl Hash for SKActionTimingMode
impl Hash for SKActionTimingMode
Source§impl Ord for SKActionTimingMode
impl Ord for SKActionTimingMode
Source§fn cmp(&self, other: &SKActionTimingMode) -> Ordering
fn cmp(&self, other: &SKActionTimingMode) -> 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 SKActionTimingMode
impl PartialEq for SKActionTimingMode
Source§impl PartialOrd for SKActionTimingMode
impl PartialOrd for SKActionTimingMode
Source§impl RefEncode for SKActionTimingMode
impl RefEncode for SKActionTimingMode
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for SKActionTimingMode
impl Eq for SKActionTimingMode
impl StructuralPartialEq for SKActionTimingMode
Auto Trait Implementations§
impl Freeze for SKActionTimingMode
impl RefUnwindSafe for SKActionTimingMode
impl Send for SKActionTimingMode
impl Sync for SKActionTimingMode
impl Unpin for SKActionTimingMode
impl UnwindSafe for SKActionTimingMode
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> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.