pub struct ControlCode {
pub field: Option<Field>,
pub channel: Channel,
pub control: Control,
}Expand description
A control code
Fields§
§field: Option<Field>The field
channel: ChannelThe channel
control: ControlThe control code
Implementations§
Source§impl ControlCode
impl ControlCode
Trait Implementations§
Source§impl Clone for ControlCode
impl Clone for ControlCode
Source§fn clone(&self) -> ControlCode
fn clone(&self) -> ControlCode
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 ControlCode
impl Debug for ControlCode
Source§impl Ord for ControlCode
impl Ord for ControlCode
Source§fn cmp(&self, other: &ControlCode) -> Ordering
fn cmp(&self, other: &ControlCode) -> Ordering
1.21.0 · 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
Source§impl PartialEq for ControlCode
impl PartialEq for ControlCode
Source§impl PartialOrd for ControlCode
impl PartialOrd for ControlCode
impl Copy for ControlCode
impl Eq for ControlCode
impl StructuralPartialEq for ControlCode
Auto Trait Implementations§
impl Freeze for ControlCode
impl RefUnwindSafe for ControlCode
impl Send for ControlCode
impl Sync for ControlCode
impl Unpin for ControlCode
impl UnwindSafe for ControlCode
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