pub struct GtPkgRelativePath(/* private fields */);Expand description
Path relative to the target package directory.
Trait Implementations§
Source§impl Clone for GtPkgRelativePath
impl Clone for GtPkgRelativePath
Source§fn clone(&self) -> GtPkgRelativePath
fn clone(&self) -> GtPkgRelativePath
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 GtPkgRelativePath
impl Debug for GtPkgRelativePath
Source§impl<'de> Deserialize<'de> for GtPkgRelativePath
impl<'de> Deserialize<'de> for GtPkgRelativePath
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 GtPkgRelativePath
impl From<&str> for GtPkgRelativePath
Source§impl GtCwdRelativeDirPath<GtPkgRelativePath> for GtPkgPath
impl GtCwdRelativeDirPath<GtPkgRelativePath> for GtPkgPath
fn join(&self, path: &ChildPath) -> GtCwdRelativePath
Source§impl GtRelativePath for GtPkgRelativePath
impl GtRelativePath for GtPkgRelativePath
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 GtPkgRelativePath
impl Hash for GtPkgRelativePath
Source§impl PartialEq for GtPkgRelativePath
impl PartialEq for GtPkgRelativePath
Source§impl Serialize for GtPkgRelativePath
impl Serialize for GtPkgRelativePath
impl Eq for GtPkgRelativePath
impl StructuralPartialEq for GtPkgRelativePath
Auto Trait Implementations§
impl Freeze for GtPkgRelativePath
impl RefUnwindSafe for GtPkgRelativePath
impl Send for GtPkgRelativePath
impl Sync for GtPkgRelativePath
impl Unpin for GtPkgRelativePath
impl UnwindSafe for GtPkgRelativePath
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