oa::video::VideoPlayerConfig

Playback policy for one local video source.

StRust public API

Declaration

pub struct VideoPlayerConfig { pub loop_playback: bool, pub frame_rate_override: Option<f64>, pub start_playing: bool, pub presentation_cache_frames: usize, pub presentation_cache_bytes: usize, }
Public Rust declaration.

Public Methods

fn clone(&self) -> VideoPlayerConfig
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &VideoPlayerConfig) -> bool

Associated Functions

fn default() -> Self

Public Data Members

loop_playbackboolfield
frame_rate_overrideOption<f64>field
start_playingboolfield
presentation_cache_framesusizefield
presentation_cache_bytesusizefield

Public Method Documentation

fn clone( &self ) -> VideoPlayerConfig
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &VideoPlayerConfig ) -> bool
No public source comment is attached to this declaration.
fn default() -> Self
No public source comment is attached to this declaration.