[][src]Struct clang::Clang

pub struct 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

impl Debug for Clang[src]

impl Drop for Clang[src]

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]

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.