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