pub struct Audio { /* private fields */ }Implementations§
Source§impl Audio
impl Audio
Sourcepub fn apc(
&mut self,
fields: &[&str],
cache: Option<&PathBuf>,
ops: &mut Vec<AudioOp>,
) -> Option<Instant>
pub fn apc( &mut self, fields: &[&str], cache: Option<&PathBuf>, ops: &mut Vec<AudioOp>, ) -> Option<Instant>
An A;... APC: fields after SyncTERM:A;. Sound to play goes
in ops; hold is set for Wait to how long to stop reading.
Sourcepub fn report(&self, channel: Option<usize>) -> String
pub fn report(&self, channel: Option<usize>) -> String
The audio state report (CSI = 7 [; channel] n).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Audio
impl RefUnwindSafe for Audio
impl Send for Audio
impl Sync for Audio
impl Unpin for Audio
impl UnsafeUnpin for Audio
impl UnwindSafe for Audio
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
Source§impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
Source§fn default_with_context(_: Ctx) -> T
fn default_with_context(_: Ctx) -> T
Creates a default value with the given context.