#[non_exhaustive]pub enum TriggerCtrl {
Sel,
Mod,
Src,
Overlap,
Delay,
Divider,
Multiplier,
Custom(CustomName),
}
Expand description
Describes trigger-specific control options.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Sel
Select trigger line (PropertyType::EnumStr
)
Mod
Get or set trigger mode on the selected trigger line (PropertyType::EnumStr
)
Src
Get or set trigger source on the selected trigger line (PropertyType::EnumStr
)
Overlap
Get or set the type trigger overlap permitted with the previous frame or line (PropertyType::EnumStr
)
Delay
Specifies the delay in microseconds (us) to apply after the trigger reception before activating it (PropertyType::Float
)
Divider
Specifies a division factor for the incoming trigger pulses (PropertyType::Float
)
Multiplier
Specifies a multiplication factor for the incoming trigger pulses (PropertyType::Float
)
Custom(CustomName)
A custom command
Trait Implementations§
Source§impl Clone for TriggerCtrl
impl Clone for TriggerCtrl
Source§fn clone(&self) -> TriggerCtrl
fn clone(&self) -> TriggerCtrl
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 TriggerCtrl
impl Debug for TriggerCtrl
Source§impl<'de> Deserialize<'de> for TriggerCtrl
impl<'de> Deserialize<'de> for TriggerCtrl
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
Source§impl Documented for TriggerCtrl
impl Documented for TriggerCtrl
Source§impl DocumentedVariants for TriggerCtrl
impl DocumentedVariants for TriggerCtrl
Source§impl From<TriggerCtrl> for GenCamCtrl
impl From<TriggerCtrl> for GenCamCtrl
Source§fn from(ctrl: TriggerCtrl) -> Self
fn from(ctrl: TriggerCtrl) -> Self
Converts to this type from the input type.
Source§impl Hash for TriggerCtrl
impl Hash for TriggerCtrl
Source§impl PartialEq for TriggerCtrl
impl PartialEq for TriggerCtrl
Source§impl Serialize for TriggerCtrl
impl Serialize for TriggerCtrl
Source§impl ToolTip for TriggerCtrl
impl ToolTip for TriggerCtrl
impl Copy for TriggerCtrl
impl Eq for TriggerCtrl
impl StructuralPartialEq for TriggerCtrl
Auto Trait Implementations§
impl Freeze for TriggerCtrl
impl RefUnwindSafe for TriggerCtrl
impl Send for TriggerCtrl
impl Sync for TriggerCtrl
impl Unpin for TriggerCtrl
impl UnwindSafe for TriggerCtrl
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