oa::audio::AudioPlayerConfig

Configuration for one incremental playback session.

StRust public API

Declaration

pub struct AudioPlayerConfig { pub uri: PathBuf, pub loop_playback: bool, pub ring_milliseconds: u32, }
Public Rust declaration.

Public Methods

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

Associated Functions

pub fn new(uri: impl Into<PathBuf>) -> Self

Public Data Members

uriPathBuffield
loop_playbackboolfield
ring_millisecondsu32field

Public Method Documentation

fn clone( &self ) -> AudioPlayerConfig
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: &AudioPlayerConfig ) -> bool
No public source comment is attached to this declaration.
pub fn new( uri: impl Into<PathBuf> ) -> Self
No public source comment is attached to this declaration.