Struct broot::filesystems::FilesystemState[][src]

pub struct FilesystemState { /* fields omitted */ }

an application state showing the currently mounted filesystems

Implementations

impl FilesystemState[src]

pub fn new(
    path: &Path,
    tree_options: TreeOptions,
    con: &AppContext
) -> Result<FilesystemState, ProgramError>
[src]

create a state listing the filesystem, trying to select the one containing the path given in argument. Not finding any filesystem is considered an error and prevents the opening of this state.

pub fn count(&self) -> usize[src]

pub fn try_scroll(&mut self, cmd: ScrollCommand) -> bool[src]

Trait Implementations

impl AppState for FilesystemState[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,