Struct gtk4::builders::AlternativeTriggerBuilder
source · 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