Struct ra_ap_base_db::AnchoredPath [−][src]
Expand description
Path relative to a file.
Borrowed version of AnchoredPathBuf
.
Fields
anchor: FileId
File that this path is relative to.
path: &'a str
Path relative to anchor
’s containing directory.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for AnchoredPath<'a>
impl<'a> Send for AnchoredPath<'a>
impl<'a> Sync for AnchoredPath<'a>
impl<'a> Unpin for AnchoredPath<'a>
impl<'a> UnwindSafe for AnchoredPath<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.