pub struct AudioStream {
pub stream_type: AudioStreamType,
pub source: AudioSettingSource,
pub user_volume_level: f32,
pub user_volume_muted: bool,
}
Fields§
§stream_type: AudioStreamType
§source: AudioSettingSource
§user_volume_level: f32
§user_volume_muted: bool
Trait Implementations§
Source§impl Clone for AudioStream
impl Clone for AudioStream
Source§fn clone(&self) -> AudioStream
fn clone(&self) -> AudioStream
Returns a copy of the value. Read more
1.0.0 · 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 AudioStream
impl Debug for AudioStream
Source§impl<'de> Deserialize<'de> for AudioStream
impl<'de> Deserialize<'de> for AudioStream
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 From<AudioStream> for AudioStreamSettings
impl From<AudioStream> for AudioStreamSettings
Source§fn from(stream: AudioStream) -> Self
fn from(stream: AudioStream) -> Self
Converts to this type from the input type.
Source§impl From<AudioStream> for SetAudioStream
impl From<AudioStream> for SetAudioStream
Source§fn from(stream: AudioStream) -> Self
fn from(stream: AudioStream) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AudioStream
impl PartialEq for AudioStream
Source§impl Serialize for AudioStream
impl Serialize for AudioStream
impl Copy for AudioStream
impl StructuralPartialEq for AudioStream
Auto Trait Implementations§
impl Freeze for AudioStream
impl RefUnwindSafe for AudioStream
impl Send for AudioStream
impl Sync for AudioStream
impl Unpin for AudioStream
impl UnwindSafe for AudioStream
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)