[][src]Struct clang::CompileCommand

pub struct CompileCommand<'cmds> { /* fields omitted */ }

A compile comand from CompilationDatabase

Implementations

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

pub fn get_directory(&self) -> PathBuf[src]

Get the working directory where the command was executed.

pub fn get_filename(&self) -> PathBuf[src]

Get the filename associated with the command.

pub fn get_arguments(&self) -> Vec<String>[src]

Get all arguments passed to the command.

Trait Implementations

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

impl<'cmds> Copy for CompileCommand<'cmds>[src]

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

Auto Trait Implementations

impl<'cmds> RefUnwindSafe for CompileCommand<'cmds>

impl<'cmds> !Send for CompileCommand<'cmds>

impl<'cmds> !Sync for CompileCommand<'cmds>

impl<'cmds> Unpin for CompileCommand<'cmds>

impl<'cmds> UnwindSafe for CompileCommand<'cmds>

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.