[−][src]Struct clang::Clang
An empty type which prevents the use of this library from multiple threads simultaneously.
Implementations
impl Clang
[src]
pub fn new() -> Result<Clang, String>
[src]
Constructs a new Clang
.
Only one instance of Clang
is allowed at a time.
Failures
- an instance of
Clang
already exists
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Clang
impl Send for Clang
impl Sync for Clang
impl Unpin for Clang
impl UnwindSafe for Clang
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>,