pub trait SaffireproOutGroupSpecification: SaffireproSwNoticeOperation {
const OUT_GROUP_STATE_OFFSET: usize;
const ENTRY_COUNT: usize;
const HAS_VOL_HWCTL: bool;
const SRC_NOTICE: u32;
const DIM_MUTE_NOTICE: u32;
const VOL_MIN: i8 = 0i8;
const VOL_MAX: i8 = 127i8;
// Provided method
fn create_out_group_state() -> OutGroupState { ... }
}Expand description
Output group operation.
Required Associated Constants§
Sourceconst OUT_GROUP_STATE_OFFSET: usize
const OUT_GROUP_STATE_OFFSET: usize
Offset of output group state.
Sourceconst ENTRY_COUNT: usize
const ENTRY_COUNT: usize
The number of outputs to be controlled.
Sourceconst HAS_VOL_HWCTL: bool
const HAS_VOL_HWCTL: bool
Support hardware knob to control volume.
Sourceconst SRC_NOTICE: u32
const SRC_NOTICE: u32
Software notification for source of output group.
Sourceconst DIM_MUTE_NOTICE: u32
const DIM_MUTE_NOTICE: u32
Software notification for dim and mute of output group.
Provided Associated Constants§
Provided Methods§
Sourcefn create_out_group_state() -> OutGroupState
fn create_out_group_state() -> OutGroupState
Instantiate structure for output group state.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.