[][src]Struct clang_sys::SharedLibrary

pub struct SharedLibrary {
    pub functions: Functions,
    // some fields omitted
}

A dynamically loaded instance of the libclang library.

Fields

functions: Functions

Methods

impl SharedLibrary[src]

pub fn path(&self) -> &Path[src]

Returns the path to this libclang shared library.

pub fn version(&self) -> Option<Version>[src]

Returns the (minimum) version of this libclang shared library.

If this returns None, it indicates that the version is too old to be supported by this crate (i.e., 3.4 or earlier). If the version of this shared library is more recent than that fully supported by this crate, the most recent fully supported version will be returned.

Trait Implementations

impl Debug for SharedLibrary[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.