pub struct SoundConfig {
pub enable_sound_system: u32,
pub enable_music: u32,
pub enable_16bit: u32,
pub enable_stereo: u32,
pub mix_rate: u32,
pub mix_buff_len_ms: u32,
pub poll_rate: u32,
pub amplification_percent: u32,
pub sample_channel_num: u32,
pub stream_channel_num: u32,
}Fields§
§enable_sound_system: u32§enable_music: u32§enable_16bit: u32§enable_stereo: u32§mix_rate: u32§mix_buff_len_ms: u32§poll_rate: u32§amplification_percent: u32§sample_channel_num: u32§stream_channel_num: u32Implementations§
Trait Implementations§
Source§impl Clone for SoundConfig
impl Clone for SoundConfig
Source§fn clone(&self) -> SoundConfig
fn clone(&self) -> SoundConfig
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 SoundConfig
impl Debug for SoundConfig
Source§impl Default for SoundConfig
impl Default for SoundConfig
Source§impl<'de> Deserialize<'de> for SoundConfigwhere
SoundConfig: Default,
impl<'de> Deserialize<'de> for SoundConfigwhere
SoundConfig: Default,
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
Auto Trait Implementations§
impl Freeze for SoundConfig
impl RefUnwindSafe for SoundConfig
impl Send for SoundConfig
impl Sync for SoundConfig
impl Unpin for SoundConfig
impl UnsafeUnpin for SoundConfig
impl UnwindSafe for SoundConfig
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