pub struct PlaybackConfig {
pub volume: f32,
pub volume_scroll_step: f32,
pub crossfade_seconds: u8,
pub back_behavior: BackBehavior,
pub channel_mode: ChannelMode,
pub equalizer: EqualizerSettings,
}Fields§
§volume: f32§volume_scroll_step: f32§crossfade_seconds: u8§back_behavior: BackBehavior§channel_mode: ChannelMode§equalizer: EqualizerSettingsTrait Implementations§
Source§impl Clone for PlaybackConfig
impl Clone for PlaybackConfig
Source§fn clone(&self) -> PlaybackConfig
fn clone(&self) -> PlaybackConfig
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 moreSource§impl Debug for PlaybackConfig
impl Debug for PlaybackConfig
Source§impl PartialEq for PlaybackConfig
impl PartialEq for PlaybackConfig
Source§fn eq(&self, other: &PlaybackConfig) -> bool
fn eq(&self, other: &PlaybackConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PlaybackConfig
Auto Trait Implementations§
impl Freeze for PlaybackConfig
impl RefUnwindSafe for PlaybackConfig
impl Send for PlaybackConfig
impl Sync for PlaybackConfig
impl Unpin for PlaybackConfig
impl UnsafeUnpin for PlaybackConfig
impl UnwindSafe for PlaybackConfig
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