pub struct AlternativeTriggerBuilder { /* private fields */ }Expand description
A builder-pattern type to construct AlternativeTrigger objects.
Implementations§
Source§impl AlternativeTriggerBuilder
impl AlternativeTriggerBuilder
Sourcepub fn first(self, first: &impl IsA<ShortcutTrigger>) -> Self
pub fn first(self, first: &impl IsA<ShortcutTrigger>) -> Self
The first ShortcutTrigger to check.
Sourcepub fn second(self, second: &impl IsA<ShortcutTrigger>) -> Self
pub fn second(self, second: &impl IsA<ShortcutTrigger>) -> Self
The second ShortcutTrigger to check.
Sourcepub fn build(self) -> AlternativeTrigger
pub fn build(self) -> AlternativeTrigger
Build the AlternativeTrigger.