Struct clang_sys::SharedLibrary
source · [−]pub struct SharedLibrary {
pub functions: Functions,
/* private fields */
}
Expand description
A dynamically loaded instance of the libclang
library.
Fields
functions: Functions
Implementations
sourceimpl SharedLibrary
impl SharedLibrary
sourcepub fn version(&self) -> Option<Version>
pub fn version(&self) -> Option<Version>
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more