Struct xplr::app::App [−][src]
pub struct App { /* fields omitted */ }
Implementations
impl App
[src]
pub fn create(pwd: PathBuf) -> Result<Self>
[src]
pub fn focused_node(&self) -> Option<&Node>
[src]
pub fn focused_node_str(&self) -> String
[src]
pub fn enqueue(self, task: Task) -> Self
[src]
pub fn handle_task(self, task: Task) -> Result<Self>
[src]
pub fn pwd(&self) -> &String
[src]
Get a reference to the app’s pwd.
pub fn directory_buffer(&self) -> Option<&DirectoryBuffer>
[src]
Get a reference to the app’s current directory buffer.
pub fn config(&self) -> &Config
[src]
Get a reference to the app’s config.
pub fn selection(&self) -> &IndexSet<Node>
[src]
Get a reference to the app’s selection.
pub fn pop_msg_out(&mut self) -> Option<MsgOut>
[src]
pub fn mode(&self) -> &Mode
[src]
Get a reference to the app’s mode.
pub fn mode_str(&self) -> String
[src]
pub fn directory_buffers(&self) -> &HashMap<String, DirectoryBuffer>
[src]
Get a reference to the app’s directory buffers.
pub fn input_buffer(&self) -> Option<String>
[src]
Get a reference to the app’s input buffer.
pub fn pipe(&self) -> &Pipe
[src]
Get a reference to the app’s pipes.
pub fn pid(&self) -> &u32
[src]
Get a reference to the app’s pid.
pub fn session_path(&self) -> &str
[src]
Get a reference to the app’s runtime path.
pub fn refresh_selection(self) -> Result<Self>
[src]
pub fn result(&self) -> Vec<&Node>
[src]
pub fn directory_nodes_str(&self) -> String
[src]
pub fn selection_str(&self) -> String
[src]
pub fn result_str(&self) -> String
[src]
pub fn explorer_config(&self) -> &ExplorerConfig
[src]
Get a reference to the app’s explorer config.
pub fn logs(&self) -> &Vec<Log>
[src]
Get a reference to the app’s logs.
pub fn global_help_menu_str(&self) -> String
[src]
pub fn version(&self) -> &String
[src]
Get a reference to the app’s version.
pub fn history(&self) -> &History
[src]
Get a reference to the app’s history.
pub fn history_str(&self) -> String
[src]
Trait Implementations
impl Clone for App
[src]
impl Debug for App
[src]
impl<'de> Deserialize<'de> for App
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for App
[src]
Auto Trait Implementations
impl RefUnwindSafe for App
impl Send for App
impl Sync for App
impl Unpin for App
impl UnwindSafe for App
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,