[−][src]Struct broot::tree::TreeLine
a line in the representation of the file hierarchy
Fields
left_branchs: Box<[bool]>
depth: u16
path: PathBuf
subpath: String
name: String
line_type: TreeLineType
has_error: bool
nb_kept_children: usize
unlisted: usize
score: i32
direct_match: bool
sum: Option<FileSum>
metadata: Metadata
git_status: Option<LineGitStatus>
Implementations
impl TreeLine
[src]
pub fn make_displayable_name(name: &str) -> String
[src]
pub fn is_selectable(&self) -> bool
[src]
pub fn is_dir(&self) -> bool
[src]
pub fn is_file(&self) -> bool
[src]
pub fn is_of(&self, selection_type: SelectionType) -> bool
[src]
pub fn selection_type(&self) -> SelectionType
[src]
pub fn mode(&self) -> Mode
[src]
pub fn is_exe(&self) -> bool
[src]
pub fn target(&self) -> PathBuf
[src]
build and return the absolute targeted path: either self.path or the solved canonicalized symlink (the path may be invalid if the symlink is)
Trait Implementations
impl Clone for TreeLine
[src]
impl Debug for TreeLine
[src]
impl Eq for TreeLine
[src]
impl Ord for TreeLine
[src]
fn cmp(&self, other: &TreeLine) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<TreeLine> for TreeLine
[src]
impl PartialOrd<TreeLine> for TreeLine
[src]
Auto Trait Implementations
impl RefUnwindSafe for TreeLine
impl Send for TreeLine
impl Sync for TreeLine
impl Unpin for TreeLine
impl UnwindSafe for TreeLine
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,