pub struct ChannelDefinition {
pub kind: ChannelType,
pub association: Association,
}Expand description
What one output channel is: its type and the color it belongs to.
It mirrors a cdef entry’s Typ and Asoc. The struct is not
#[non_exhaustive], so a caller may build one. Both enums are
#[non_exhaustive], because a later part of the standard may give a
reserved value a name: match them with a catch-all arm.
Fields§
§kind: ChannelTypeThe channel’s type.
association: AssociationWhich color, if any, the channel is associated with.
Trait Implementations§
Source§impl Clone for ChannelDefinition
impl Clone for ChannelDefinition
impl Copy for ChannelDefinition
Source§impl Debug for ChannelDefinition
impl Debug for ChannelDefinition
impl Eq for ChannelDefinition
Source§impl PartialEq for ChannelDefinition
impl PartialEq for ChannelDefinition
impl StructuralPartialEq for ChannelDefinition
Auto Trait Implementations§
impl Forget for ChannelDefinition
impl Freeze for ChannelDefinition
impl Move for ChannelDefinition
impl RefUnwindSafe for ChannelDefinition
impl Send for ChannelDefinition
impl Sync for ChannelDefinition
impl Unpin for ChannelDefinition
impl UnsafeUnpin for ChannelDefinition
impl UnwindSafe for ChannelDefinition
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