[−][src]Struct amadeus_core::file::PathBuf
Implementations
impl PathBuf
[src]
pub fn new() -> Self
[src]
pub fn push<S>(&mut self, component: S) where
S: Into<OsString>,
[src]
S: Into<OsString>,
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]
S: Into<OsString>,
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]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for PathBuf
[src]
fn cmp(&self, other: &PathBuf) -> 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<PathBuf> for PathBuf
[src]
impl PartialOrd<PathBuf> for PathBuf
[src]
fn partial_cmp(&self, other: &PathBuf) -> Option<Ordering>
[src]
fn lt(&self, other: &PathBuf) -> bool
[src]
fn le(&self, other: &PathBuf) -> bool
[src]
fn gt(&self, other: &PathBuf) -> bool
[src]
fn ge(&self, other: &PathBuf) -> bool
[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]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,