pub struct GtEntryPath(/* private fields */);Expand description
Entry pattern path relative to the working directory.
Implementations§
Source§impl GtEntryPath
impl GtEntryPath
pub fn with_parent(&self, path: &RelativePathBuf) -> GtEntryPath
Trait Implementations§
Source§impl Clone for GtEntryPath
impl Clone for GtEntryPath
Source§fn clone(&self) -> GtEntryPath
fn clone(&self) -> GtEntryPath
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 GtEntryPath
impl Debug for GtEntryPath
Source§impl<'de> Deserialize<'de> for GtEntryPath
impl<'de> Deserialize<'de> for GtEntryPath
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 GtRelativePath for GtEntryPath
impl GtRelativePath for GtEntryPath
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 GtEntryPath
impl Hash for GtEntryPath
Source§impl PartialEq for GtEntryPath
impl PartialEq for GtEntryPath
Source§impl Serialize for GtEntryPath
impl Serialize for GtEntryPath
impl Eq for GtEntryPath
impl StructuralPartialEq for GtEntryPath
Auto Trait Implementations§
impl Freeze for GtEntryPath
impl RefUnwindSafe for GtEntryPath
impl Send for GtEntryPath
impl Sync for GtEntryPath
impl Unpin for GtEntryPath
impl UnwindSafe for GtEntryPath
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