#[repr(u8)]pub enum ClipAction {
Start = 0,
Stop = 1,
Pause = 2,
Resume = 3,
Restart = 4,
Toggle = 5,
}Expand description
Engine action a ClipTrigger or ClipPacketTrigger drives; also a
ClipHandle verb.
Variants§
Start = 0
Rewind and play; a paused clip resumes instead.
Stop = 1
Stop, release held input and the clip auto-lock.
Pause = 2
Halt mid-clip, retaining the cursor and held input.
Resume = 3
Continue from the paused cursor.
Restart = 4
Force a rewind and play, even mid-playback.
Toggle = 5
Play if idle/paused, stop if playing.
Trait Implementations§
Source§impl Clone for ClipAction
impl Clone for ClipAction
impl Copy for ClipAction
Source§impl Debug for ClipAction
impl Debug for ClipAction
impl Eq for ClipAction
Source§impl Hash for ClipAction
impl Hash for ClipAction
Source§impl PartialEq for ClipAction
impl PartialEq for ClipAction
impl StructuralPartialEq for ClipAction
Auto Trait Implementations§
impl Freeze for ClipAction
impl RefUnwindSafe for ClipAction
impl Send for ClipAction
impl Sync for ClipAction
impl Unpin for ClipAction
impl UnsafeUnpin for ClipAction
impl UnwindSafe for ClipAction
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