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]
impl Clang
pub fn new() -> Result<Clang, String>
[src]
pub fn new() -> Result<Clang, String>
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 Debug for Clang
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Drop for Clang
[src]
impl Drop for Clang