Trait awedio::sounds::wrappers::SetPaused

source ·
pub trait SetPaused {
    // Required method
    fn set_paused(&mut self, paused: bool);
}
Expand description

A Sound which can be paused.

Required Methods§

source

fn set_paused(&mut self, paused: bool)

Pause or unpause the sound.

Implementors§

source§

impl<S> SetPaused for AdjustableSpeed<S>
where S: Sound + SetPaused,

source§

impl<S> SetPaused for AdjustableVolume<S>
where S: Sound + SetPaused,

source§

impl<S> SetPaused for Pausable<S>
where S: Sound,

source§

impl<S> SetPaused for S
where S: Wrapper, <S as Wrapper>::Inner: SetPaused,