pub struct CompileCommand {
pub directory: Utf8PathBuf,
pub file: Utf8PathBuf,
pub arguments: Vec<String>,
pub output: Utf8PathBuf,
}Expand description
One entry of a Clang JSON Compilation Database.
arguments is kept as a list so each backend / consumer can render it
however the format requires (LLVM accepts both command and
arguments keys; cabin-ninja emits command).
Fields§
§directory: Utf8PathBuf§file: Utf8PathBuf§arguments: Vec<String>§output: Utf8PathBufTrait Implementations§
Source§impl Clone for CompileCommand
impl Clone for CompileCommand
Source§fn clone(&self) -> CompileCommand
fn clone(&self) -> CompileCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CompileCommand
impl Debug for CompileCommand
impl Eq for CompileCommand
Source§impl PartialEq for CompileCommand
impl PartialEq for CompileCommand
Source§fn eq(&self, other: &CompileCommand) -> bool
fn eq(&self, other: &CompileCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CompileCommand
Auto Trait Implementations§
impl Freeze for CompileCommand
impl RefUnwindSafe for CompileCommand
impl Send for CompileCommand
impl Sync for CompileCommand
impl Unpin for CompileCommand
impl UnsafeUnpin for CompileCommand
impl UnwindSafe for CompileCommand
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.