Struct clang::CompileCommand [] [src]

pub struct CompileCommand<'d> {
    // some fields omitted
}

The information used to compile a source file in a project.

Methods

impl<'d> CompileCommand<'d>
[src]

fn get_arguments(&self) -> Vec<String>

Returns the arguments in the compiler invocation for this compile command.

fn get_mapped_source_files(&self) -> Vec<(PathBuf, String)>

Returns the path to and contents of the source files mapped by this compile command.

fn get_working_directory(&self) -> PathBuf

Returns the working directory of this compile command.

Trait Implementations

impl<'d> Clone for CompileCommand<'d>
[src]

fn clone(&self) -> CompileCommand<'d>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<'c> Debug for CompileCommand<'c>
[src]

fn fmt(&self, formatter: &mut Formatter) -> Result

Formats the value using the given formatter.