Struct xplr::app::App [−][src]
pub struct App { /* fields omitted */ }
Implementations
impl App
[src]
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 handle_task(self, task: Task) -> Result<Self>
[src]
pub fn directory_buffer(&self) -> Option<&DirectoryBuffer>
[src]
pub fn directory_buffer(&self) -> Option<&DirectoryBuffer>
[src]Get a reference to the app’s current directory buffer.
pub fn pop_msg_out(&mut self) -> Option<MsgOut>
[src]
pub fn mode_str(&self) -> String
[src]
pub fn directory_buffers(&self) -> &HashMap<String, DirectoryBuffer>
[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]
pub fn input_buffer(&self) -> Option<String>
[src]Get a reference to the app’s input buffer.
pub fn session_path(&self) -> &str
[src]
pub fn session_path(&self) -> &str
[src]Get a reference to the app’s runtime path.
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]
pub fn explorer_config(&self) -> &ExplorerConfig
[src]Get a reference to the app’s explorer config.
pub fn logs_str(&self) -> String
[src]
pub fn global_help_menu_str(&self) -> String
[src]
pub fn history_str(&self) -> String
[src]
pub fn write_pipes(&self) -> Result<()>
[src]
Trait Implementations
impl<'de> Deserialize<'de> for App
[src]
impl<'de> Deserialize<'de> for App
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
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> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,