Struct voicemeeter::interface::parameters::bus::BusModeParameter
source · pub struct BusModeParameter<'a> { /* private fields */ }
interface
only.Expand description
Parameters for bus mode
Implementations§
source§impl<'a> BusModeParameter<'a>
impl<'a> BusModeParameter<'a>
sourcepub fn param(&self, dot: impl ToString) -> Cow<'static, ParameterNameRef>
pub fn param(&self, dot: impl ToString) -> Cow<'static, ParameterNameRef>
Get the identifier for a mode parameter on this bus: Bus[i].mode.{dot}
sourcepub fn is_normal(&self) -> Result<bool, GetParameterError>
pub fn is_normal(&self) -> Result<bool, GetParameterError>
Returns true
if the bus mode is Normal
sourcepub fn is_repeat(&self) -> Result<bool, GetParameterError>
pub fn is_repeat(&self) -> Result<bool, GetParameterError>
Returns true
if the bus mode is Repeat
sourcepub fn is_composite(&self) -> Result<bool, GetParameterError>
pub fn is_composite(&self) -> Result<bool, GetParameterError>
Returns true
if the bus mode is Composite
sourcepub fn is_tv_mix(&self) -> Result<bool, GetParameterError>
pub fn is_tv_mix(&self) -> Result<bool, GetParameterError>
Returns true
if the bus mode is TvMix
sourcepub fn is_up_mix21(&self) -> Result<bool, GetParameterError>
pub fn is_up_mix21(&self) -> Result<bool, GetParameterError>
Returns true
if the bus mode is UpMix21
sourcepub fn is_up_mix41(&self) -> Result<bool, GetParameterError>
pub fn is_up_mix41(&self) -> Result<bool, GetParameterError>
Returns true
if the bus mode is UpMix41
sourcepub fn is_up_mix61(&self) -> Result<bool, GetParameterError>
pub fn is_up_mix61(&self) -> Result<bool, GetParameterError>
Returns true
if the bus mode is UpMix61
sourcepub fn is_center_only(&self) -> Result<bool, GetParameterError>
pub fn is_center_only(&self) -> Result<bool, GetParameterError>
Returns true
if the bus mode is CenterOnly
sourcepub fn is_lfe_only(&self) -> Result<bool, GetParameterError>
pub fn is_lfe_only(&self) -> Result<bool, GetParameterError>
Returns true
if the bus mode is LfeOnly
sourcepub fn is_rear_only(&self) -> Result<bool, GetParameterError>
pub fn is_rear_only(&self) -> Result<bool, GetParameterError>
Returns true
if the bus mode is RearOnly
sourcepub fn set_normal(&self, val: bool) -> Result<(), SetParameterError>
pub fn set_normal(&self, val: bool) -> Result<(), SetParameterError>
Set the bus mode for Normal
sourcepub fn set_repeat(&self, val: bool) -> Result<(), SetParameterError>
pub fn set_repeat(&self, val: bool) -> Result<(), SetParameterError>
Set the bus mode for Repeat
sourcepub fn set_composite(&self, val: bool) -> Result<(), SetParameterError>
pub fn set_composite(&self, val: bool) -> Result<(), SetParameterError>
Set the bus mode for Composite
sourcepub fn set_tv_mix(&self, val: bool) -> Result<(), SetParameterError>
pub fn set_tv_mix(&self, val: bool) -> Result<(), SetParameterError>
Set the bus mode for TvMix
sourcepub fn set_up_mix21(&self, val: bool) -> Result<(), SetParameterError>
pub fn set_up_mix21(&self, val: bool) -> Result<(), SetParameterError>
Set the bus mode for UpMix21
sourcepub fn set_up_mix41(&self, val: bool) -> Result<(), SetParameterError>
pub fn set_up_mix41(&self, val: bool) -> Result<(), SetParameterError>
Set the bus mode for UpMix41
sourcepub fn set_up_mix61(&self, val: bool) -> Result<(), SetParameterError>
pub fn set_up_mix61(&self, val: bool) -> Result<(), SetParameterError>
Set the bus mode for UpMix61
sourcepub fn set_center_only(&self, val: bool) -> Result<(), SetParameterError>
pub fn set_center_only(&self, val: bool) -> Result<(), SetParameterError>
Set the bus mode for CenterOnly
sourcepub fn set_lfe_only(&self, val: bool) -> Result<(), SetParameterError>
pub fn set_lfe_only(&self, val: bool) -> Result<(), SetParameterError>
Set the bus mode for LfeOnly
sourcepub fn set_rear_only(&self, val: bool) -> Result<(), SetParameterError>
pub fn set_rear_only(&self, val: bool) -> Result<(), SetParameterError>
Set the bus mode for RearOnly