[−][src]Struct clang_sys::SharedLibrary
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
Auto Trait Implementations
impl RefUnwindSafe for SharedLibrary
impl Send for SharedLibrary
impl Sync for SharedLibrary
impl Unpin for SharedLibrary
impl UnwindSafe for SharedLibrary
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>,