pub struct Relative;
Trait Implementations§
Source§impl EndsWith<Relative> for Path<Unknown>
impl EndsWith<Relative> for Path<Unknown>
fn ends_with_internal(&self, operand: &Path<OperandFlavour>) -> bool
Source§impl EndsWith<Relative> for Path<Absolute>
impl EndsWith<Relative> for Path<Absolute>
fn ends_with_internal(&self, operand: &Path<OperandFlavour>) -> bool
Source§impl EndsWith<Relative> for Path<Relative>
impl EndsWith<Relative> for Path<Relative>
fn ends_with_internal(&self, operand: &Path<OperandFlavour>) -> bool
Source§impl Join<Relative> for Path<Unknown>
impl Join<Relative> for Path<Unknown>
type ResultFlavour = Unknown
fn join_internal( &self, operand: &Path<OperandFlavour>, ) -> PathBuf<Self::ResultFlavour>
Source§impl Join<Relative> for Path<Absolute>
impl Join<Relative> for Path<Absolute>
type ResultFlavour = Absolute
fn join_internal( &self, operand: &Path<OperandFlavour>, ) -> PathBuf<Self::ResultFlavour>
Source§impl Join<Relative> for Path<Relative>
impl Join<Relative> for Path<Relative>
type ResultFlavour = Relative
fn join_internal( &self, operand: &Path<OperandFlavour>, ) -> PathBuf<Self::ResultFlavour>
Source§impl PathFlavour for Relative
impl PathFlavour for Relative
type ParseError = PathIsAbsolute
fn new_path<S: AsRef<OsStr> + ?Sized>( string: &S, ) -> Result<&Path<Self>, Self::ParseError>
Auto Trait Implementations§
impl Freeze for Relative
impl RefUnwindSafe for Relative
impl Send for Relative
impl Sync for Relative
impl Unpin for Relative
impl UnwindSafe for Relative
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