Struct gtk4::builders::AlternativeTriggerBuilder
source · [−]pub struct AlternativeTriggerBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct AlternativeTrigger
objects.
Implementations
sourceimpl AlternativeTriggerBuilder
impl AlternativeTriggerBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new AlternativeTriggerBuilder
.
sourcepub fn build(self) -> AlternativeTrigger
pub fn build(self) -> AlternativeTrigger
Build the AlternativeTrigger
.
pub fn first(self, first: &impl IsA<ShortcutTrigger>) -> Self
pub fn second(self, second: &impl IsA<ShortcutTrigger>) -> Self
Trait Implementations
sourceimpl Clone for AlternativeTriggerBuilder
impl Clone for AlternativeTriggerBuilder
sourcefn clone(&self) -> AlternativeTriggerBuilder
fn clone(&self) -> AlternativeTriggerBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for AlternativeTriggerBuilder
impl Default for AlternativeTriggerBuilder
sourcefn default() -> AlternativeTriggerBuilder
fn default() -> AlternativeTriggerBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for AlternativeTriggerBuilder
impl !Send for AlternativeTriggerBuilder
impl !Sync for AlternativeTriggerBuilder
impl Unpin for AlternativeTriggerBuilder
impl UnwindSafe for AlternativeTriggerBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more