Struct lazybar_core::ActionsBuilder
source · pub struct ActionsBuilder { /* private fields */ }
Expand description
Builder for Actions
.
Implementations§
source§impl ActionsBuilder
impl ActionsBuilder
sourcepub fn left(&mut self, value: String) -> &mut Self
pub fn left(&mut self, value: String) -> &mut Self
The event that should be run when the panel is left-clicked
sourcepub fn right(&mut self, value: String) -> &mut Self
pub fn right(&mut self, value: String) -> &mut Self
The event that should be run when the panel is right-clicked
sourcepub fn middle(&mut self, value: String) -> &mut Self
pub fn middle(&mut self, value: String) -> &mut Self
The event that should be run when the panel is middle-clicked
sourcepub fn up(&mut self, value: String) -> &mut Self
pub fn up(&mut self, value: String) -> &mut Self
The event that should be run when the panel is scrolled up
Trait Implementations§
source§impl Clone for ActionsBuilder
impl Clone for ActionsBuilder
source§fn clone(&self) -> ActionsBuilder
fn clone(&self) -> ActionsBuilder
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 moreAuto Trait Implementations§
impl Freeze for ActionsBuilder
impl RefUnwindSafe for ActionsBuilder
impl Send for ActionsBuilder
impl Sync for ActionsBuilder
impl Unpin for ActionsBuilder
impl UnwindSafe for ActionsBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)