pub struct SetAudioStream {
pub stream_type: AudioStreamType,
pub source: AudioSettingSource,
pub user_volume_level: Option<f32>,
pub user_volume_muted: Option<bool>,
}
Fields§
§stream_type: AudioStreamType
§source: AudioSettingSource
§user_volume_level: Option<f32>
§user_volume_muted: Option<bool>
Trait Implementations§
Source§impl Clone for SetAudioStream
impl Clone for SetAudioStream
Source§fn clone(&self) -> SetAudioStream
fn clone(&self) -> SetAudioStream
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 SetAudioStream
impl Debug for SetAudioStream
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 SetAudioStream
impl PartialEq for SetAudioStream
impl Copy for SetAudioStream
impl StructuralPartialEq for SetAudioStream
Auto Trait Implementations§
impl Freeze for SetAudioStream
impl RefUnwindSafe for SetAudioStream
impl Send for SetAudioStream
impl Sync for SetAudioStream
impl Unpin for SetAudioStream
impl UnwindSafe for SetAudioStream
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
)