Struct djio::ControlValue
source · #[repr(transparent)]pub struct ControlValue { /* private fields */ }Expand description
A generic, encoded control value.
Implementations§
Trait Implementations§
source§impl Clone for ControlValue
impl Clone for ControlValue
source§fn clone(&self) -> ControlValue
fn clone(&self) -> ControlValue
Returns a copy 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 ControlValue
impl Debug for ControlValue
source§impl Display for ControlValue
impl Display for ControlValue
source§impl From<ButtonInput> for ControlValue
impl From<ButtonInput> for ControlValue
source§fn from(value: ButtonInput) -> Self
fn from(value: ButtonInput) -> Self
Converts to this type from the input type.
source§impl From<CenterSliderInput> for ControlValue
impl From<CenterSliderInput> for ControlValue
source§fn from(from: CenterSliderInput) -> Self
fn from(from: CenterSliderInput) -> Self
Converts to this type from the input type.
source§impl From<ControlValue> for ButtonInput
impl From<ControlValue> for ButtonInput
source§fn from(from: ControlValue) -> Self
fn from(from: ControlValue) -> Self
Converts to this type from the input type.
source§impl From<ControlValue> for CenterSliderInput
impl From<ControlValue> for CenterSliderInput
source§fn from(from: ControlValue) -> Self
fn from(from: ControlValue) -> Self
Converts to this type from the input type.
source§impl From<ControlValue> for DimLedOutput
impl From<ControlValue> for DimLedOutput
source§fn from(value: ControlValue) -> Self
fn from(value: ControlValue) -> Self
Converts to this type from the input type.
source§impl From<ControlValue> for LedOutput
impl From<ControlValue> for LedOutput
source§fn from(value: ControlValue) -> Self
fn from(value: ControlValue) -> Self
Converts to this type from the input type.
source§impl From<ControlValue> for PadButtonInput
impl From<ControlValue> for PadButtonInput
source§fn from(from: ControlValue) -> Self
fn from(from: ControlValue) -> Self
Converts to this type from the input type.
source§impl From<ControlValue> for RgbLedOutput
impl From<ControlValue> for RgbLedOutput
source§fn from(value: ControlValue) -> Self
fn from(value: ControlValue) -> Self
Converts to this type from the input type.
source§impl From<ControlValue> for SelectorInput
impl From<ControlValue> for SelectorInput
source§fn from(from: ControlValue) -> Self
fn from(from: ControlValue) -> Self
Converts to this type from the input type.
source§impl From<ControlValue> for SliderEncoderInput
impl From<ControlValue> for SliderEncoderInput
source§fn from(from: ControlValue) -> Self
fn from(from: ControlValue) -> Self
Converts to this type from the input type.
source§impl From<ControlValue> for SliderInput
impl From<ControlValue> for SliderInput
source§fn from(from: ControlValue) -> Self
fn from(from: ControlValue) -> Self
Converts to this type from the input type.
source§impl From<ControlValue> for StepEncoderInput
impl From<ControlValue> for StepEncoderInput
source§fn from(from: ControlValue) -> Self
fn from(from: ControlValue) -> Self
Converts to this type from the input type.
source§impl From<DimLedOutput> for ControlValue
impl From<DimLedOutput> for ControlValue
source§fn from(value: DimLedOutput) -> Self
fn from(value: DimLedOutput) -> Self
Converts to this type from the input type.
source§impl From<LedOutput> for ControlValue
impl From<LedOutput> for ControlValue
source§impl From<PadButtonInput> for ControlValue
impl From<PadButtonInput> for ControlValue
source§fn from(from: PadButtonInput) -> Self
fn from(from: PadButtonInput) -> Self
Converts to this type from the input type.
source§impl From<RgbLedOutput> for ControlValue
impl From<RgbLedOutput> for ControlValue
source§fn from(value: RgbLedOutput) -> Self
fn from(value: RgbLedOutput) -> Self
Converts to this type from the input type.
source§impl From<SelectorInput> for ControlValue
impl From<SelectorInput> for ControlValue
source§fn from(from: SelectorInput) -> Self
fn from(from: SelectorInput) -> Self
Converts to this type from the input type.
source§impl From<SliderEncoderInput> for ControlValue
impl From<SliderEncoderInput> for ControlValue
source§fn from(from: SliderEncoderInput) -> Self
fn from(from: SliderEncoderInput) -> Self
Converts to this type from the input type.
source§impl From<SliderInput> for ControlValue
impl From<SliderInput> for ControlValue
source§fn from(from: SliderInput) -> Self
fn from(from: SliderInput) -> Self
Converts to this type from the input type.
source§impl From<StepEncoderInput> for ControlValue
impl From<StepEncoderInput> for ControlValue
source§fn from(from: StepEncoderInput) -> Self
fn from(from: StepEncoderInput) -> Self
Converts to this type from the input type.
source§impl PartialEq<ControlValue> for ControlValue
impl PartialEq<ControlValue> for ControlValue
source§fn eq(&self, other: &ControlValue) -> bool
fn eq(&self, other: &ControlValue) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ControlValue
impl Eq for ControlValue
impl StructuralEq for ControlValue
impl StructuralPartialEq for ControlValue
Auto Trait Implementations§
impl RefUnwindSafe for ControlValue
impl Send for ControlValue
impl Sync for ControlValue
impl Unpin for ControlValue
impl UnwindSafe for ControlValue
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