Struct dependency_runner::LookupQuery [−][src]
Complete specification of a search task
Fields
system: Option<WindowsSystem>Path to the root of a Windows installation
user_path: Vec<PathBuf>Additional executable search path set by the user
target_exe: PathBufPath to the target executable
app_dir: PathBufParent directory of target_exe, cached
working_dir: PathBufWorking directory as it should appear in the search path
max_depth: Option<usize>Maximum library recursion depth for the search
skip_system_dlls: boolSkip searching dependencies of DLLs found in system directories
extract_symbols: boolExtract symbols from found DLLs
Implementations
impl LookupQuery[src]
pub fn deduce_from_executable_location<P: AsRef<Path>>(
target_exe: P
) -> Result<Self, LookupError>[src]
target_exe: P
) -> Result<Self, LookupError>
autodetects the settings with sensible defaults
The working directory will be set to the one containing the executable (i.e. the app_dir)
pub fn update_from_vcx_debugging_configuration(
&mut self,
debugging_configuration: &VcxDebuggingConfiguration
)[src]
&mut self,
debugging_configuration: &VcxDebuggingConfiguration
)
update this Query with the information contained in a .vcxproj.user file
Will set the working directory and the PATH to the ones specified in the file
pub fn read_from_vcx_executable_information(
exe_info: &VcxExecutableInformation
) -> Result<Self, LookupError>[src]
exe_info: &VcxExecutableInformation
) -> Result<Self, LookupError>
create a Query with the information contained in a .vcxproj file
Will extract the executable location from the file If the respective .vcxproj.user file is found, the contained information will be used
Trait Implementations
impl Clone for LookupQuery[src]
fn clone(&self) -> LookupQuery[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for LookupQuery[src]
Auto Trait Implementations
impl RefUnwindSafe for LookupQuery
impl Send for LookupQuery
impl Sync for LookupQuery
impl Unpin for LookupQuery
impl UnwindSafe for LookupQuery
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,