Struct clang::Clang
[−]
[src]
pub struct Clang;
An empty type which prevents the use of this library from multiple threads simultaneously.
Methods
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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more