pub struct CreateProcessState {Show 13 fields
pub step: CreateProcessStep,
pub placement_type: Option<PlacementType>,
pub origin_group_key: String,
pub target_session: Option<String>,
pub target_pane: Option<String>,
pub directory: Option<String>,
pub cursor: usize,
pub input_buffer: String,
pub available_panes: Vec<PaneInfo>,
pub collapsed_nodes: HashSet<String>,
pub tree_entries: Vec<TreeEntry>,
pub directory_items: Vec<DirItem>,
pub is_input_mode: bool,
}Expand description
State for the create process flow
Fields§
§step: CreateProcessStepCurrent step in the flow
placement_type: Option<PlacementType>Selected placement type
origin_group_key: StringGroup key that initiated the flow (directory path or session name)
target_session: Option<String>Selected tmux session name (for NewWindow)
target_pane: Option<String>Target pane to split (for SplitPane, session:window.pane format)
directory: Option<String>Selected directory path
cursor: usizeCursor position in the popup list
input_buffer: StringInput buffer for directory path entry
available_panes: Vec<PaneInfo>Available panes list (cached)
collapsed_nodes: HashSet<String>Collapsed node keys (session name or “session:window_index”)
tree_entries: Vec<TreeEntry>Tree entries (cached, rebuilt when collapsed_nodes changes)
directory_items: Vec<DirItem>Directory selection items (includes headers, pinned, base, known)
is_input_mode: boolWhether in path input mode
Trait Implementations§
Source§impl Clone for CreateProcessState
impl Clone for CreateProcessState
Source§fn clone(&self) -> CreateProcessState
fn clone(&self) -> CreateProcessState
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 moreAuto Trait Implementations§
impl Freeze for CreateProcessState
impl RefUnwindSafe for CreateProcessState
impl Send for CreateProcessState
impl Sync for CreateProcessState
impl Unpin for CreateProcessState
impl UnsafeUnpin for CreateProcessState
impl UnwindSafe for CreateProcessState
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§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.