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