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