Struct librespot_connect::spirc::Spirc [−][src]
pub struct Spirc { /* fields omitted */ }
Implementations
impl Spirc
[src]
impl Spirc
[src]pub fn new(
config: ConnectConfig,
session: Session,
player: Player,
mixer: Box<dyn Mixer>
) -> (Spirc, impl Future<Output = ()>)
[src]
config: ConnectConfig,
session: Session,
player: Player,
mixer: Box<dyn Mixer>
) -> (Spirc, impl Future<Output = ()>)
pub fn play(&self)
[src]
pub fn play_pause(&self)
[src]
pub fn pause(&self)
[src]
pub fn prev(&self)
[src]
pub fn next(&self)
[src]
pub fn volume_up(&self)
[src]
pub fn volume_down(&self)
[src]
pub fn shutdown(&self)
[src]
pub fn shuffle(&self)
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Spirc
impl !RefUnwindSafe for Spirc
impl !UnwindSafe for Spirc
impl !UnwindSafe for Spirc
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,