Struct xplr::app::ResolvedNode[][src]

pub struct ResolvedNode { /* fields omitted */ }

Implementations

impl ResolvedNode[src]

pub fn from(path: PathBuf) -> Self[src]

pub fn absolute_path(&self) -> &String[src]

Get a reference to the resolved node’s absolute path.

pub fn extension(&self) -> &String[src]

Get a reference to the resolved node’s extension.

pub fn is_dir(&self) -> bool[src]

Get a reference to the resolved node’s is dir.

pub fn is_file(&self) -> bool[src]

Get a reference to the resolved node’s is file.

pub fn is_readonly(&self) -> bool[src]

Get a reference to the resolved node’s is readonly.

pub fn mime_essence(&self) -> &String[src]

Get a reference to the resolved node’s mime essence.

pub fn size(&self) -> u64[src]

Get a reference to the resolved node’s size.

Trait Implementations

impl Clone for ResolvedNode[src]

impl Debug for ResolvedNode[src]

impl<'de> Deserialize<'de> for ResolvedNode[src]

impl Eq for ResolvedNode[src]

impl From<ResolvedNode> for ResolvedNodeUiMetadata[src]

impl Hash for ResolvedNode[src]

impl PartialEq<ResolvedNode> for ResolvedNode[src]

impl Serialize for ResolvedNode[src]

impl StructuralEq for ResolvedNode[src]

impl StructuralPartialEq for ResolvedNode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.