pub struct Candidate {
pub path: PathBuf,
pub canonical: PathBuf,
pub tags: Vec<PathTag>,
}Fields§
§path: PathBuf§canonical: PathBufImplementations§
Source§impl Candidate
impl Candidate
pub fn score(&self, policy: ScoringPolicy) -> i32
Sourcepub fn path_order(&self) -> usize
pub fn path_order(&self) -> usize
PATH discovery order from InPathEnv tag, or usize::MAX if not from PATH
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Candidate
impl RefUnwindSafe for Candidate
impl Send for Candidate
impl Sync for Candidate
impl Unpin for Candidate
impl UnsafeUnpin for Candidate
impl UnwindSafe for Candidate
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