[][src]Struct openblas_build::LibInspect

pub struct LibInspect {
    pub libs: Vec<String>,
    pub symbols: Vec<String>,
    // some fields omitted
}

Library inspection using binutils (nm and objdump) as external command

  • Linked shared libraries using objdump -p external command.
  • Global "T" symbols in the text (code) section of library using nm -g external command.

Fields

libs: Vec<String>symbols: Vec<String>

Implementations

impl LibInspect[src]

pub fn new<P: AsRef<Path>>(path: P) -> Result<Self, Error>[src]

Inspect library file

Be sure that nm -g and objdump -p are executed in this function

pub fn has_cblas(&self) -> bool[src]

pub fn has_lapack(&self) -> bool[src]

pub fn has_lapacke(&self) -> bool[src]

pub fn has_lib(&self, name: &str) -> bool[src]

Trait Implementations

impl Clone for LibInspect[src]

impl Debug for LibInspect[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.