pub struct GtCwdRelativePath(/* private fields */);Expand description
Path relative to the working directory.
Trait Implementations§
Source§impl Clone for GtCwdRelativePath
impl Clone for GtCwdRelativePath
Source§fn clone(&self) -> GtCwdRelativePath
fn clone(&self) -> GtCwdRelativePath
Returns a copy 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 GtCwdRelativePath
impl Debug for GtCwdRelativePath
Source§impl<'de> Deserialize<'de> for GtCwdRelativePath
impl<'de> Deserialize<'de> for GtCwdRelativePath
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 From<&str> for GtCwdRelativePath
impl From<&str> for GtCwdRelativePath
Source§impl From<GtCwdRelativePath> for GtDistPath
impl From<GtCwdRelativePath> for GtDistPath
Source§fn from(path: GtCwdRelativePath) -> Self
fn from(path: GtCwdRelativePath) -> Self
Converts to this type from the input type.
Source§impl From<GtCwdRelativePath> for GtPkgPath
impl From<GtCwdRelativePath> for GtPkgPath
Source§fn from(path: GtCwdRelativePath) -> Self
fn from(path: GtCwdRelativePath) -> Self
Converts to this type from the input type.
Source§impl From<GtCwdRelativePath> for GtPkgSrcPath
impl From<GtCwdRelativePath> for GtPkgSrcPath
Source§fn from(path: GtCwdRelativePath) -> Self
fn from(path: GtCwdRelativePath) -> Self
Converts to this type from the input type.
Source§impl From<GtCwdRelativePath> for GtRootPath
impl From<GtCwdRelativePath> for GtRootPath
Source§fn from(path: GtCwdRelativePath) -> Self
fn from(path: GtCwdRelativePath) -> Self
Converts to this type from the input type.
Source§impl From<GtCwdRelativePath> for GtSrcPath
impl From<GtCwdRelativePath> for GtSrcPath
Source§fn from(path: GtCwdRelativePath) -> Self
fn from(path: GtCwdRelativePath) -> Self
Converts to this type from the input type.
Source§impl GtRelativePath for GtCwdRelativePath
impl GtRelativePath for GtCwdRelativePath
fn new(path: RelativePathBuf) -> Self
fn relative_path(&self) -> &RelativePathBuf
fn as_str(&self) -> &str
fn with_extension<Str: AsRef<str>>(&self, ext: Str) -> Selfwhere
Self: Sized,
fn join_path(&self, path: &RelativePathBuf) -> Selfwhere
Self: Sized,
fn parent(&self) -> Option<Self>where
Self: Sized,
fn parents(&self) -> Successors<Self, fn(&Self) -> Option<Self>>
Source§impl Hash for GtCwdRelativePath
impl Hash for GtCwdRelativePath
Source§impl PartialEq for GtCwdRelativePath
impl PartialEq for GtCwdRelativePath
Source§impl Serialize for GtCwdRelativePath
impl Serialize for GtCwdRelativePath
impl Eq for GtCwdRelativePath
impl StructuralPartialEq for GtCwdRelativePath
Auto Trait Implementations§
impl Freeze for GtCwdRelativePath
impl RefUnwindSafe for GtCwdRelativePath
impl Send for GtCwdRelativePath
impl Sync for GtCwdRelativePath
impl Unpin for GtCwdRelativePath
impl UnwindSafe for GtCwdRelativePath
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