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