pub struct CompileCommand {
pub directory: String,
pub file: String,
pub command: Option<String>,
pub arguments: Option<Vec<String>>,
pub output: Option<String>,
}Expand description
Represents a single compilation command in the database
Fields§
§directory: StringThe working directory for the compilation
file: StringThe main source file to compile
command: Option<String>The command as a single string (when command_style is true)
arguments: Option<Vec<String>>The command as a list of arguments (when command_style is false)
output: Option<String>Optional output file
Trait 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 · 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
Source§impl<'de> Deserialize<'de> for CompileCommand
impl<'de> Deserialize<'de> for CompileCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CompileCommand
impl RefUnwindSafe for CompileCommand
impl Send for CompileCommand
impl Sync for CompileCommand
impl Unpin 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