pub struct ChangePlaybackRateCommand { /* private fields */ }Implementations§
Source§impl ChangePlaybackRateCommand
impl ChangePlaybackRateCommand
pub fn command(&self) -> Command
pub fn is_enabled(&self) -> bool
pub fn set_enabled(&self, enabled: bool)
pub fn add_handler<F>(&self, handler: F) -> CommandToken
Source§impl ChangePlaybackRateCommand
impl ChangePlaybackRateCommand
pub fn supported_playback_rates(&self) -> Vec<f64>
pub fn set_supported_playback_rates(&self, rates: &[f64])
Trait Implementations§
Source§impl Clone for ChangePlaybackRateCommand
impl Clone for ChangePlaybackRateCommand
Source§fn clone(&self) -> ChangePlaybackRateCommand
fn clone(&self) -> ChangePlaybackRateCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChangePlaybackRateCommand
Source§impl Debug for ChangePlaybackRateCommand
impl Debug for ChangePlaybackRateCommand
impl Eq for ChangePlaybackRateCommand
Source§impl PartialEq for ChangePlaybackRateCommand
impl PartialEq for ChangePlaybackRateCommand
Source§fn eq(&self, other: &ChangePlaybackRateCommand) -> bool
fn eq(&self, other: &ChangePlaybackRateCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChangePlaybackRateCommand
Auto Trait Implementations§
impl Freeze for ChangePlaybackRateCommand
impl RefUnwindSafe for ChangePlaybackRateCommand
impl Send for ChangePlaybackRateCommand
impl Sync for ChangePlaybackRateCommand
impl Unpin for ChangePlaybackRateCommand
impl UnsafeUnpin for ChangePlaybackRateCommand
impl UnwindSafe for ChangePlaybackRateCommand
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