playa 0.1.139

Image sequence player (EXR, PNG, JPEG, TIFF, .MP4). Pure Rust with optional OpenEXR/FFmpeg support.
Documentation
//! Player and playback events.

// === Playback Control ===

#[derive(Clone, Debug)]
pub struct StopEvent;

#[derive(Clone, Debug)]
pub struct TogglePlayPauseEvent;

#[derive(Clone, Debug)]
pub struct SetFrameEvent(pub i32);

#[derive(Clone, Debug)]
pub struct StepForwardEvent;

#[derive(Clone, Debug)]
pub struct StepBackwardEvent;

#[derive(Clone, Debug)]
pub struct StepForwardLargeEvent;

#[derive(Clone, Debug)]
pub struct StepBackwardLargeEvent;

#[derive(Clone, Debug)]
pub struct JumpToStartEvent;

#[derive(Clone, Debug)]
pub struct JumpToEndEvent;

#[derive(Clone, Debug)]
pub struct JumpToPrevEdgeEvent;

#[derive(Clone, Debug)]
pub struct JumpToNextEdgeEvent;

#[derive(Clone, Debug)]
pub struct JogForwardEvent;

#[derive(Clone, Debug)]
pub struct JogBackwardEvent;

// === FPS Control ===

#[derive(Clone, Debug)]
pub struct IncreaseFPSBaseEvent;

#[derive(Clone, Debug)]
pub struct DecreaseFPSBaseEvent;

// === Play Range ===

#[derive(Clone, Debug)]
pub struct SetPlayRangeStartEvent;

#[derive(Clone, Debug)]
pub struct SetPlayRangeEndEvent;

#[derive(Clone, Debug)]
pub struct ResetPlayRangeEvent;

// === Loop ===

#[derive(Clone, Debug)]
pub struct ToggleLoopEvent;

#[derive(Clone, Debug)]
pub struct SetLoopEvent(pub bool);

// === Preload ===

/// Request to preload a specific frame for a comp
/// Sent when a frame is needed but not yet loaded (e.g., during composition)
#[derive(Clone, Debug)]
pub struct PreloadFrameEvent {
    pub comp_uuid: uuid::Uuid,
    pub frame_idx: i32,
}