pub type DirCollection = Vec<DirEntry>;Expand description
An ordered list of DirEntry items used by DirListBox.
A bare Vec<DirEntry> type alias — DirListBox only needs push, index,
and len. In normal use you do not need to construct a DirCollection
directly: call DirListBox::new_directory and it builds the list internally
via build_tree. Use this alias when you need to pre-populate or inspect the
dir-tree entries without going through DirListBox.
§Turbo Vision heritage
Ports TDirCollection (stddlg.h), a heap pointer collection subclass;
it collapses to a plain Vec because the general-purpose collection API
(indexOf, remove, firstThat, …) is unused here.
Aliased Type§
pub struct DirCollection { /* private fields */ }