pub struct InvokeParams {
pub directory: Option<String>,
pub show_cmd: Option<i32>,
}Expand description
Parameters for customizing command invocation.
Pass to SelectedItem::execute_with to override defaults.
Fields§
§directory: Option<String>Working directory for the command. Defaults to the item’s parent folder.
show_cmd: Option<i32>Window show command (SW_SHOW, SW_HIDE, etc.). Defaults to
SW_SHOWNORMAL.
Trait Implementations§
Source§impl Clone for InvokeParams
impl Clone for InvokeParams
Source§fn clone(&self) -> InvokeParams
fn clone(&self) -> InvokeParams
Returns a duplicate 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 moreSource§impl Debug for InvokeParams
impl Debug for InvokeParams
Source§impl Default for InvokeParams
impl Default for InvokeParams
Source§fn default() -> InvokeParams
fn default() -> InvokeParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InvokeParams
impl RefUnwindSafe for InvokeParams
impl Send for InvokeParams
impl Sync for InvokeParams
impl Unpin for InvokeParams
impl UnsafeUnpin for InvokeParams
impl UnwindSafe for InvokeParams
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