Struct dependency_runner::lookup_path::LookupPath[][src]

pub struct LookupPath {
    pub entries: Vec<LookupPathEntry>,
    // some fields omitted
}

Sorted list of directories to be looked up when searching for a DLL

Fields

entries: Vec<LookupPathEntry>

Implementations

impl LookupPath[src]

pub fn new(query: &LookupQuery) -> Self[src]

pub fn from_dwp_file<P: AsRef<Path>>(
    dwp_path: P,
    q: &LookupQuery
) -> Result<Self, LookupError>
[src]

Build a LookupPath from the content of a Dependency Walker .dwp file

pub fn search_path(&self) -> Vec<PathBuf>[src]

pub fn search_file(
    &self,
    filename: &OsStr
) -> Result<Option<LookupResult>, LookupError>
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.