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
.
Auto Trait Implementations§
impl Freeze for AlternativeTriggerBuilder
impl RefUnwindSafe for AlternativeTriggerBuilder
impl !Send for AlternativeTriggerBuilder
impl !Sync for AlternativeTriggerBuilder
impl Unpin for AlternativeTriggerBuilder
impl UnwindSafe for AlternativeTriggerBuilder
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