pub struct DirView {
pub tree: Tree,
/* private fields */
}
Fields§
§tree: Tree
Implementations§
source§impl DirView
impl DirView
pub fn new( dir: PathBuf, pattern: InputPattern, dam: &Dam, con: &AppContext ) -> Result<Self, Error>
pub fn display( &mut self, w: &mut W, disc: &DisplayContext<'_>, area: &Area ) -> Result<(), ProgramError>
pub fn display_info( &mut self, w: &mut W, _screen: Screen, panel_skin: &PanelSkin, area: &Area ) -> Result<(), ProgramError>
pub fn try_scroll(&mut self, cmd: ScrollCommand) -> bool
pub fn try_select_y(&mut self, y: u16) -> bool
pub fn move_selection(&mut self, dy: i32, cycle: bool)
pub fn select_first(&mut self)
pub fn select_last(&mut self)
Auto Trait Implementations§
impl RefUnwindSafe for DirView
impl Send for DirView
impl Sync for DirView
impl Unpin for DirView
impl UnwindSafe for DirView
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