pub struct PPConfig {
pub include_paths: Vec<PathBuf>,
pub predefined: Vec<(String, Option<String>)>,
pub debug_pp: bool,
pub target_dir: Option<PathBuf>,
pub emit_markers: bool,
}Expand description
プリプロセッサ設定
Fields§
§include_paths: Vec<PathBuf>システムインクルードパス (-I)
predefined: Vec<(String, Option<String>)>事前定義マクロ (-D)
debug_pp: boolプリプロセッサデバッグ出力 (–debug-pp)
target_dir: Option<PathBuf>ターゲットディレクトリ(このディレクトリ内で定義されたマクロにis_target=trueを設定)
emit_markers: boolマクロ展開マーカーを出力するか(デバッグ/AST用)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PPConfig
impl RefUnwindSafe for PPConfig
impl Send for PPConfig
impl Sync for PPConfig
impl Unpin for PPConfig
impl UnsafeUnpin for PPConfig
impl UnwindSafe for PPConfig
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