Enum KzuTimeLineEntryPlaybackMode
#[repr(i32)]pub enum KzuTimeLineEntryPlaybackMode {
Normal = 0,
Reverse = 1,
Pingpong = 2,
}Expand description
Playback type of the timeline.
Variants§
Normal = 0
Plays the animation timeline normally from the start to end.
Reverse = 1
Plays the animation timeline in reverse from the end to start.
Pingpong = 2
Plays the animation timeline first normally, then in reverse.
Implementations§
§impl KzuTimeLineEntryPlaybackMode
impl KzuTimeLineEntryPlaybackMode
pub fn as_str(self) -> &'static str
pub fn convert(num: i32) -> KzuTimeLineEntryPlaybackMode
Trait Implementations§
§impl Clone for KzuTimeLineEntryPlaybackMode
impl Clone for KzuTimeLineEntryPlaybackMode
§fn clone(&self) -> KzuTimeLineEntryPlaybackMode
fn clone(&self) -> KzuTimeLineEntryPlaybackMode
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 more§impl Debug for KzuTimeLineEntryPlaybackMode
impl Debug for KzuTimeLineEntryPlaybackMode
§impl Display for KzuTimeLineEntryPlaybackMode
impl Display for KzuTimeLineEntryPlaybackMode
§impl PartialEq for KzuTimeLineEntryPlaybackMode
impl PartialEq for KzuTimeLineEntryPlaybackMode
§impl VariantConstraint for KzuTimeLineEntryPlaybackMode
impl VariantConstraint for KzuTimeLineEntryPlaybackMode
§type DataArg<'a> = KzuTimeLineEntryPlaybackMode
type DataArg<'a> = KzuTimeLineEntryPlaybackMode
Specifies the type of an argument that provides a value to
Variant.
Generally, this type matches Self, except for KanziString, Resource, and ResourceId. Read more§fn as_arg(
&self,
) -> <KzuTimeLineEntryPlaybackMode as VariantConstraint>::DataArg<'_>
fn as_arg( &self, ) -> <KzuTimeLineEntryPlaybackMode as VariantConstraint>::DataArg<'_>
impl Copy for KzuTimeLineEntryPlaybackMode
impl Eq for KzuTimeLineEntryPlaybackMode
impl PropertyTypeConstraint for KzuTimeLineEntryPlaybackMode
impl StructuralPartialEq for KzuTimeLineEntryPlaybackMode
Auto Trait Implementations§
impl Freeze for KzuTimeLineEntryPlaybackMode
impl RefUnwindSafe for KzuTimeLineEntryPlaybackMode
impl Send for KzuTimeLineEntryPlaybackMode
impl Sync for KzuTimeLineEntryPlaybackMode
impl Unpin for KzuTimeLineEntryPlaybackMode
impl UnwindSafe for KzuTimeLineEntryPlaybackMode
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