pub struct PathList { /* private fields */ }Expand description
[POL]: Zarządca wyświetlania wyników w formie płaskiej listy.
Implementations§
Source§impl PathList
impl PathList
Sourcepub fn build(
paths_strings: &[String],
base_dir: &str,
sort_strategy: SortStrategy,
weight_cfg: &WeightConfig,
no_emoji: bool,
) -> Self
pub fn build( paths_strings: &[String], base_dir: &str, sort_strategy: SortStrategy, weight_cfg: &WeightConfig, no_emoji: bool, ) -> Self
[POL]: Buduje listę na podstawie zbioru ścieżek i statystyk.
Sourcepub fn render_cli(&self, _is_match: bool) -> String
pub fn render_cli(&self, _is_match: bool) -> String
[POL]: Renderuje listę dla terminala (z kolorami i ikonami).
pub fn render_txt(&self) -> String
Auto Trait Implementations§
impl Freeze for PathList
impl RefUnwindSafe for PathList
impl Send for PathList
impl Sync for PathList
impl Unpin for PathList
impl UnsafeUnpin for PathList
impl UnwindSafe for PathList
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