[−][src]Struct intel_mkl_tool::Entry
Handler for found library
Implementations
impl Entry
[src]
pub fn from_config(config: Config) -> Result<Self>
[src]
Get the directory where the library exists
This will seek followings in this order:
$OUT_DIR
- Only for build.rs
- This exists only when the previous build downloads archive here
- pkg-config
${name}
- Installed by package manager or official downloader
$XDG_DATA_HOME/intel-mkl-tool/${name}
- Downloaded by this crate
Returns error if no library found
pub fn name(&self) -> String
[src]
pub fn found_files(&self) -> Vec<(PathBuf, String)>
[src]
pub fn available() -> Vec<Self>
[src]
pub fn version(&self) -> Result<(u32, u32)>
[src]
Get MKL version info from its C header
- This will not work for OUT_DIR or XDG_DATA_HOME entry, and returns Error in these cases
pub fn print_cargo_metadata(&self)
[src]
impl Entry
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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,
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, 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.
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>,