pub enum ControlKey {
Selector(Entity),
Crosspoint {
entity: Entity,
input_pin: u8,
input_channel: u8,
output_channel: u8,
},
}Expand description
Every pin and channel here is one-based, in descriptor/wire order.
Variants§
Trait Implementations§
Source§impl Clone for ControlKey
impl Clone for ControlKey
impl Copy for ControlKey
Source§impl Debug for ControlKey
impl Debug for ControlKey
impl Eq for ControlKey
Source§impl Ord for ControlKey
impl Ord for ControlKey
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ControlKey
impl PartialEq for ControlKey
Source§impl PartialOrd for ControlKey
impl PartialOrd for ControlKey
impl StructuralPartialEq for ControlKey
Auto Trait Implementations§
impl Forget for ControlKey
impl Freeze for ControlKey
impl Move for ControlKey
impl RefUnwindSafe for ControlKey
impl Send for ControlKey
impl Sync for ControlKey
impl Unpin for ControlKey
impl UnsafeUnpin for ControlKey
impl UnwindSafe for ControlKey
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