pub struct SetStreamMuteParams {
pub index: u32,
pub mute: bool,
}Expand description
Parameters for super::Command::SetSinkInputMute and super::Command::SetSourceOutputMute.
Fields§
§index: u32The index of the sink input or source output.
mute: boolWhether to mute or unmute.
Trait Implementations§
Source§impl Clone for SetStreamMuteParams
impl Clone for SetStreamMuteParams
Source§fn clone(&self) -> SetStreamMuteParams
fn clone(&self) -> SetStreamMuteParams
Returns a duplicate 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 SetStreamMuteParams
impl Debug for SetStreamMuteParams
Source§impl PartialEq for SetStreamMuteParams
impl PartialEq for SetStreamMuteParams
Source§impl TagStructRead for SetStreamMuteParams
impl TagStructRead for SetStreamMuteParams
Source§fn read(
ts: &mut TagStructReader<'_>,
_protocol_version: u16,
) -> Result<Self, ProtocolError>
fn read( ts: &mut TagStructReader<'_>, _protocol_version: u16, ) -> Result<Self, ProtocolError>
Read an instance of
Self from a tagstruct.Source§impl TagStructWrite for SetStreamMuteParams
impl TagStructWrite for SetStreamMuteParams
Source§fn write(
&self,
ts: &mut TagStructWriter<'_>,
_protocol_version: u16,
) -> Result<(), ProtocolError>
fn write( &self, ts: &mut TagStructWriter<'_>, _protocol_version: u16, ) -> Result<(), ProtocolError>
Write
self into a tagstruct.impl Copy for SetStreamMuteParams
impl Eq for SetStreamMuteParams
impl StructuralPartialEq for SetStreamMuteParams
Auto Trait Implementations§
impl Freeze for SetStreamMuteParams
impl RefUnwindSafe for SetStreamMuteParams
impl Send for SetStreamMuteParams
impl Sync for SetStreamMuteParams
impl Unpin for SetStreamMuteParams
impl UnwindSafe for SetStreamMuteParams
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