[][src]Struct amadeus_core::file::PathBuf

pub struct PathBuf { /* fields omitted */ }

Implementations

impl PathBuf[src]

pub fn new() -> Self[src]

pub fn push<S>(&mut self, component: S) where
    S: Into<OsString>, 
[src]

pub fn pop(&mut self) -> Option<OsString>[src]

pub fn last(&self) -> Option<&OsString>[src]

pub fn set_file_name<S>(&mut self, file_name: Option<S>) where
    S: Into<OsString>, 
[src]

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

pub fn file_name(&self) -> Option<&OsString>[src]

pub fn depth(&self) -> usize[src]

pub fn iter<'a>(&'a self) -> impl Iterator<Item = &OsString> + 'a[src]

pub fn display<'a>(&'a self) -> impl Display + 'a[src]

Trait Implementations

impl Clone for PathBuf[src]

impl Debug for PathBuf[src]

impl Default for PathBuf[src]

impl Eq for PathBuf[src]

impl Hash for PathBuf[src]

impl Ord for PathBuf[src]

impl PartialEq<PathBuf> for PathBuf[src]

impl PartialOrd<PathBuf> for PathBuf[src]

impl StructuralEq for PathBuf[src]

impl StructuralPartialEq for PathBuf[src]

Auto Trait Implementations

impl RefUnwindSafe for PathBuf

impl Send for PathBuf

impl Sync for PathBuf

impl Unpin for PathBuf

impl UnwindSafe for PathBuf

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<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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,