Struct path_abs::ser::PathSer [−][src]
Implementations
impl PathSer
[src]
Trait Implementations
impl AsRef<OsStr> for PathSer
[src]
impl AsRef<Path> for PathSer
[src]
impl AsRef<PathBuf> for PathSer
[src]
impl Borrow<Path> for PathSer
[src]
impl<'a> Borrow<Path> for &'a PathSer
[src]
impl Borrow<PathBuf> for PathSer
[src]
impl<'a> Borrow<PathBuf> for &'a PathSer
[src]
impl Clone for PathSer
[src]
impl Debug for PathSer
[src]
impl<'de> Deserialize<'de> for PathSer
[src]
fn deserialize<D>(deserializer: D) -> Result<PathSer, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl Eq for PathSer
[src]
impl<P: Into<PathBuf>> From<P> for PathSer
[src]
impl Hash for PathSer
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for PathSer
[src]
fn cmp(&self, other: &PathSer) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<PathSer> for PathSer
[src]
impl PartialOrd<PathSer> for PathSer
[src]
fn partial_cmp(&self, other: &PathSer) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl PathMut for PathSer
[src]
fn append<P: AsRef<Path>>(&mut self, path: P) -> Result<()>
[src]
fn pop_up(&mut self) -> Result<()>
[src]
fn truncate_to_root(&mut self)
[src]
fn set_file_name<S: AsRef<OsStr>>(&mut self, file_name: S)
[src]
fn set_extension<S: AsRef<OsStr>>(&mut self, extension: S) -> bool
[src]
impl PathOps for PathSer
[src]
type Output = PathSer
fn concat<P: AsRef<Path>>(&self, path: P) -> Result<Self::Output>
[src]
fn join<P: AsRef<Path>>(&self, path: P) -> Self::Output
[src]
fn with_file_name<S: AsRef<OsStr>>(&self, file_name: S) -> Self::Output
[src]
fn with_extension<S: AsRef<OsStr>>(&self, extension: S) -> Self::Output
[src]
impl Serialize for PathSer
[src]
impl StructuralEq for PathSer
[src]
impl StructuralPartialEq for PathSer
[src]
Auto Trait Implementations
impl RefUnwindSafe for PathSer
impl Send for PathSer
impl Sync for PathSer
impl Unpin for PathSer
impl UnwindSafe for PathSer
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> FromStfu8 for T where
T: From<PathBuf>,
[src]
T: From<PathBuf>,
pub fn from_stfu8(&str) -> Result<T, DecodeError>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> PathInfo for T where
T: Clone + Borrow<PathBuf> + Into<Arc<PathBuf>>,
[src]
T: Clone + Borrow<PathBuf> + Into<Arc<PathBuf>>,
pub fn as_path(&Self) -> &Path
[src]
pub fn to_arc_pathbuf(&Self) -> Arc<PathBuf>
[src]
fn as_os_str(&self) -> &OsStr
[src]
fn to_str(&self) -> Option<&str>
[src]
fn to_string_lossy(&self) -> Cow<'_, str>
[src]
fn is_absolute(&self) -> bool
[src]
fn is_relative(&self) -> bool
[src]
fn has_root(&self) -> bool
[src]
fn ancestors(&self) -> Ancestors<'_>
[src]
fn file_name(&self) -> Option<&OsStr>
[src]
fn strip_prefix<P>(&self, base: P) -> Result<&Path, StripPrefixError> where
P: AsRef<Path>,
[src]
P: AsRef<Path>,
fn starts_with<P: AsRef<Path>>(&self, base: P) -> bool
[src]
fn ends_with<P: AsRef<Path>>(&self, base: P) -> bool
[src]
fn file_stem(&self) -> Option<&OsStr>
[src]
fn extension(&self) -> Option<&OsStr>
[src]
fn components(&self) -> Components<'_>
[src]
fn iter(&self) -> Iter<'_>
[src]
fn display(&self) -> Display<'_>
[src]
fn metadata(&self) -> Result<Metadata>
[src]
fn symlink_metadata(&self) -> Result<Metadata>
[src]
fn exists(&self) -> bool
[src]
fn is_file(&self) -> bool
[src]
fn is_dir(&self) -> bool
[src]
fn read_link(&self) -> Result<PathBuf>
[src]
fn canonicalize(&self) -> Result<PathAbs>
[src]
fn parent(&self) -> Result<&Path>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToStfu8 for T where
T: Borrow<PathBuf>,
[src]
T: Borrow<PathBuf>,
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.
pub 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>,