pub struct PlayerConfig {
pub sample_rate: f64,
pub sharp_crossfader_width: f32,
}Fields§
§sample_rate: f64§sharp_crossfader_width: f32Trait Implementations§
Source§impl Clone for PlayerConfig
impl Clone for PlayerConfig
Source§fn clone(&self) -> PlayerConfig
fn clone(&self) -> PlayerConfig
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 PlayerConfig
impl Debug for PlayerConfig
Source§impl Default for PlayerConfig
impl Default for PlayerConfig
Source§impl<'de> Deserialize<'de> for PlayerConfig
impl<'de> Deserialize<'de> for PlayerConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PlayerConfig
impl PartialEq for PlayerConfig
Source§impl Serialize for PlayerConfig
impl Serialize for PlayerConfig
impl StructuralPartialEq for PlayerConfig
Auto Trait Implementations§
impl Freeze for PlayerConfig
impl RefUnwindSafe for PlayerConfig
impl Send for PlayerConfig
impl Sync for PlayerConfig
impl Unpin for PlayerConfig
impl UnsafeUnpin for PlayerConfig
impl UnwindSafe for PlayerConfig
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