pub struct Menu { /* private fields */ }Expand description
Typed arguments for display-menu.
Implementations§
Source§impl Menu
impl Menu
Sourcepub const fn target_pane(self, pane: PaneId) -> Self
pub const fn target_pane(self, pane: PaneId) -> Self
Targets a pane.
Sourcepub fn target_client(self, client: ClientName) -> Self
pub fn target_client(self, client: ClientName) -> Self
Targets a client.
Sourcepub fn x(self, value: impl Into<OsString>) -> Self
pub fn x(self, value: impl Into<OsString>) -> Self
Sets an x position or tmux position expression.
Sourcepub fn y(self, value: impl Into<OsString>) -> Self
pub fn y(self, value: impl Into<OsString>) -> Self
Sets a y position or tmux position expression.
Sourcepub fn starting_choice(self, value: impl Into<OsString>) -> Self
pub fn starting_choice(self, value: impl Into<OsString>) -> Self
Sets the initially selected row. Requires tmux 3.4+.
Sourcepub fn border_lines(self, value: impl Into<OsString>) -> Self
pub fn border_lines(self, value: impl Into<OsString>) -> Self
Sets the border line style. Requires tmux 3.4+.
Sourcepub fn border_style(self, value: impl Into<OsString>) -> Self
pub fn border_style(self, value: impl Into<OsString>) -> Self
Sets border style. Requires tmux 3.4+.
Sourcepub fn selected_style(self, value: impl Into<OsString>) -> Self
pub fn selected_style(self, value: impl Into<OsString>) -> Self
Sets selected-entry style. Requires tmux 3.4+.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Menu
impl RefUnwindSafe for Menu
impl Send for Menu
impl Sync for Menu
impl Unpin for Menu
impl UnsafeUnpin for Menu
impl UnwindSafe for Menu
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