[−][src]Struct liboskar::types::FileTree
Fields
file_size: FileSize
Methods
impl FileTree
[src]
pub fn sort(
self,
maybe_num: Option<usize>,
min_bytes: Option<u64>,
dirs_only: bool,
max_depth: Option<u8>
) -> FileTree
[src]
self,
maybe_num: Option<usize>,
min_bytes: Option<u64>,
dirs_only: bool,
max_depth: Option<u8>
) -> FileTree
pub fn filtered(
self,
min_bytes: Option<u64>,
dirs_only: bool,
max_depth: Option<u8>
) -> FileTree
[src]
self,
min_bytes: Option<u64>,
dirs_only: bool,
max_depth: Option<u8>
) -> FileTree
pub fn new() -> FileTree
[src]
pub fn add(&mut self, size: FileSize)
[src]
pub fn push(
&mut self,
path: String,
size: FileSize,
subtree: Option<&mut FileTree>,
depth: u8,
is_dir: bool
)
[src]
&mut self,
path: String,
size: FileSize,
subtree: Option<&mut FileTree>,
depth: u8,
is_dir: bool
)
pub fn display_tree(&mut self, init_dir: &PathBuf)
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FileTree
impl Send for FileTree
impl Sync for FileTree
impl Unpin for FileTree
impl UnwindSafe for FileTree
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> Erased for T
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,