pub trait SourcePathT: Trace + Debug + Display {
    fn is_default(&self) -> bool;
    fn path(&self) -> Option<&Path>;
    fn as_any(&self) -> &dyn Any;
    fn dyn_hash(&self, hasher: &mut dyn Hasher);
    fn dyn_eq(&self, other: &dyn SourcePathT) -> bool;
    fn dyn_debug(&self, fmt: &mut Formatter<'_>) -> Result;
}

Required Methods§

This method should be checked by resolver before panicking with bad SourcePath input if true - then resolver may threat this path as default, and default is usally a CWD

Trait Implementations§

Feeds this value into the given Hasher. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Implementors§