pub struct VariantChannelConfig {
pub selected_channels: Option<Vec<usize>>,
pub ct_channel_pairs: Option<Vec<[usize; 2]>>,
pub cd_channel_pairs: Option<Vec<[usize; 2]>>,
}Expand description
Per-variant channel configuration
Fields§
§selected_channels: Option<Vec<usize>>Selected channel indices for single-channel variants (ST, DE, SY)
ct_channel_pairs: Option<Vec<[usize; 2]>>Channel pairs for CT variant
cd_channel_pairs: Option<Vec<[usize; 2]>>Directed channel pairs for CD variant
Trait Implementations§
Source§impl Clone for VariantChannelConfig
impl Clone for VariantChannelConfig
Source§fn clone(&self) -> VariantChannelConfig
fn clone(&self) -> VariantChannelConfig
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 VariantChannelConfig
impl Debug for VariantChannelConfig
Source§impl<'de> Deserialize<'de> for VariantChannelConfig
impl<'de> Deserialize<'de> for VariantChannelConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for VariantChannelConfig
impl RefUnwindSafe for VariantChannelConfig
impl Send for VariantChannelConfig
impl Sync for VariantChannelConfig
impl Unpin for VariantChannelConfig
impl UnwindSafe for VariantChannelConfig
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