pub struct AbsolutePathOwned(/* private fields */);Expand description
Owned Absolute Path.
Implementations§
Trait Implementations§
Source§impl AsRef<AbsolutePath> for AbsolutePathOwned
impl AsRef<AbsolutePath> for AbsolutePathOwned
Source§fn as_ref(&self) -> &AbsolutePath
fn as_ref(&self) -> &AbsolutePath
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<str> for AbsolutePathOwned
impl AsRef<str> for AbsolutePathOwned
Source§impl Borrow<AbsolutePath> for AbsolutePathOwned
impl Borrow<AbsolutePath> for AbsolutePathOwned
Source§fn borrow(&self) -> &AbsolutePath
fn borrow(&self) -> &AbsolutePath
Immutably borrows from an owned value. Read more
Source§impl Clone for AbsolutePathOwned
impl Clone for AbsolutePathOwned
Source§fn clone(&self) -> AbsolutePathOwned
fn clone(&self) -> AbsolutePathOwned
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AbsolutePathOwned
impl Debug for AbsolutePathOwned
Source§impl Deref for AbsolutePathOwned
impl Deref for AbsolutePathOwned
Source§impl<'de> Deserialize<'de> for AbsolutePathOwned
impl<'de> Deserialize<'de> for AbsolutePathOwned
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for AbsolutePathOwned
impl Display for AbsolutePathOwned
Source§impl From<&AbsolutePath> for AbsolutePathOwned
impl From<&AbsolutePath> for AbsolutePathOwned
Source§fn from(val: &AbsolutePath) -> Self
fn from(val: &AbsolutePath) -> Self
Converts to this type from the input type.
Source§impl From<AbsolutePathOwned> for PathOwned
impl From<AbsolutePathOwned> for PathOwned
Source§fn from(value: AbsolutePathOwned) -> Self
fn from(value: AbsolutePathOwned) -> Self
Converts to this type from the input type.
Source§impl From<AbsolutePathOwned> for String
impl From<AbsolutePathOwned> for String
Source§fn from(val: AbsolutePathOwned) -> Self
fn from(val: AbsolutePathOwned) -> Self
Converts to this type from the input type.
Source§impl Hash for AbsolutePathOwned
impl Hash for AbsolutePathOwned
Source§impl<'a> IntoIterator for &'a AbsolutePathOwned
impl<'a> IntoIterator for &'a AbsolutePathOwned
Source§impl Ord for AbsolutePathOwned
impl Ord for AbsolutePathOwned
Source§fn cmp(&self, other: &AbsolutePathOwned) -> Ordering
fn cmp(&self, other: &AbsolutePathOwned) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq<AbsolutePath> for AbsolutePathOwned
impl PartialEq<AbsolutePath> for AbsolutePathOwned
Source§impl PartialEq<AbsolutePathOwned> for AbsolutePath
impl PartialEq<AbsolutePathOwned> for AbsolutePath
Source§impl PartialEq<str> for AbsolutePathOwned
impl PartialEq<str> for AbsolutePathOwned
Source§impl PartialEq for AbsolutePathOwned
impl PartialEq for AbsolutePathOwned
Source§impl PartialOrd for AbsolutePathOwned
impl PartialOrd for AbsolutePathOwned
Source§impl PathExt for AbsolutePathOwned
impl PathExt for AbsolutePathOwned
Source§fn from_str_unchecked(buf: &str) -> &Self::Path
fn from_str_unchecked(buf: &str) -> &Self::Path
See: std::path::Path
type PathOwned = AbsolutePathOwned
type Path = AbsolutePath
fn validate(buf: &str) -> Result<(), PathError>
fn from_owned_unchecked(buf: String) -> Self::PathOwned
fn as_str(&self) -> &str
fn has_root(&self) -> bool
fn from_owned(buf: String) -> Result<Self::PathOwned, PathError>
fn from_str(buf: &str) -> Result<&Self::Path, PathError>
fn as_path(&self) -> &Self::Path
fn to_path(&self) -> Self::PathOwned
Source§fn components(&self) -> Components<'_> ⓘ
fn components(&self) -> Components<'_> ⓘ
Path components.
Source§fn parents(&self) -> impl Iterator<Item = &Self::Path>
fn parents(&self) -> impl Iterator<Item = &Self::Path>
Parent directories as full path starting at root. Read more
Source§fn paths(&self) -> impl Iterator<Item = &Self::Path>
fn paths(&self) -> impl Iterator<Item = &Self::Path>
Components as full path starting at root. Read more
Source§fn parent_and_file_name_result(&self) -> Result<(&Self::Path, &str), PathError>
fn parent_and_file_name_result(&self) -> Result<(&Self::Path, &str), PathError>
Path and filename.
Source§impl Serialize for AbsolutePathOwned
impl Serialize for AbsolutePathOwned
Source§impl TryFrom<&str> for AbsolutePathOwned
impl TryFrom<&str> for AbsolutePathOwned
Source§impl TryFrom<String> for AbsolutePathOwned
impl TryFrom<String> for AbsolutePathOwned
impl Eq for AbsolutePathOwned
impl StructuralPartialEq for AbsolutePathOwned
Auto Trait Implementations§
impl Freeze for AbsolutePathOwned
impl RefUnwindSafe for AbsolutePathOwned
impl Send for AbsolutePathOwned
impl Sync for AbsolutePathOwned
impl Unpin for AbsolutePathOwned
impl UnsafeUnpin for AbsolutePathOwned
impl UnwindSafe for AbsolutePathOwned
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more