pub struct Config {
pub cpp_command: String,
pub cpp_options: Vec<String>,
pub flavor: Flavor,
}
Expand description
Parser configuration
Fields§
§cpp_command: String
Command used to invoke C preprocessor
cpp_options: Vec<String>
Options to pass to the preprocessor program
flavor: Flavor
Language flavor to parse
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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