[−][src]Struct lll::application::app::App
The data structure holding various elements related to App
.
Fields
siv: Cursive
vec_tabs: Rc<RefCell<HashMap<u32, Tab>>>
Methods
impl App
[src]
pub fn new() -> Result<Self, Error>
[src]
pub fn load_bindings(&mut self)
[src]
Funtion to load key-bindings.
pub fn add_tab(&mut self, name: u32, path: PathBuf) -> Result<(), Error>
[src]
Add new tab to main view.
pub fn run(&mut self)
[src]
Auto Trait Implementations
impl !Send for App
impl !Sync for App
impl Unpin for App
impl !UnwindSafe for App
impl !RefUnwindSafe for App
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> With for T
[src]
fn with<F>(self, f: F) -> Self where
F: FnOnce(&mut Self),
[src]
F: FnOnce(&mut Self),
fn try_with<E, F>(self, f: F) -> Result<Self, E> where
F: FnOnce(&mut Self) -> Result<(), E>,
[src]
F: FnOnce(&mut Self) -> Result<(), E>,
fn with_if<F>(self, condition: bool, f: F) -> Self where
F: FnOnce(&mut Self),
[src]
F: FnOnce(&mut Self),