pub struct SaffireOutputParameters {
pub mutes: Vec<bool>,
pub vols: Vec<u8>,
pub hwctls: Vec<bool>,
pub dims: Vec<bool>,
pub pads: Vec<bool>,
}
Expand description
The structure for output parameters.
Fields§
§mutes: Vec<bool>
Mute the output or not.
vols: Vec<u8>
The volume of outputs.
hwctls: Vec<bool>
Enable hardware control for the output.
dims: Vec<bool>
Dim the output or not.
pads: Vec<bool>
Pad the output or not.
Trait Implementations§
Source§impl Clone for SaffireOutputParameters
impl Clone for SaffireOutputParameters
Source§fn clone(&self) -> SaffireOutputParameters
fn clone(&self) -> SaffireOutputParameters
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SaffireOutputParameters
impl Debug for SaffireOutputParameters
Source§impl PartialEq for SaffireOutputParameters
impl PartialEq for SaffireOutputParameters
Source§fn eq(&self, other: &SaffireOutputParameters) -> bool
fn eq(&self, other: &SaffireOutputParameters) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for SaffireOutputParameters
impl StructuralPartialEq for SaffireOutputParameters
Auto Trait Implementations§
impl Freeze for SaffireOutputParameters
impl RefUnwindSafe for SaffireOutputParameters
impl Send for SaffireOutputParameters
impl Sync for SaffireOutputParameters
impl Unpin for SaffireOutputParameters
impl UnwindSafe for SaffireOutputParameters
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§impl<O> SaffireParametersSerdes<SaffireOutputParameters> for Owhere
O: SaffireOutputSpecification,
impl<O> SaffireParametersSerdes<SaffireOutputParameters> for Owhere
O: SaffireOutputSpecification,
Source§const OFFSETS: &'static [usize] = const OFFSETS: &'static [usize] = O::OUTPUT_OFFSETS;
const OFFSETS: &'static [usize] = const OFFSETS: &'static [usize] = O::OUTPUT_OFFSETS;
The set of offsets for the parameters.
Source§fn serialize(params: &SaffireOutputParameters, raw: &mut [u8])
fn serialize(params: &SaffireOutputParameters, raw: &mut [u8])
Change the content of raw data by the parameters.
Source§fn deserialize(params: &mut SaffireOutputParameters, raw: &[u8])
fn deserialize(params: &mut SaffireOutputParameters, raw: &[u8])
Decode the cache to change the parameter.