pub struct InferConfig {
pub bindings_path: Option<PathBuf>,
pub apidoc_path: Option<PathBuf>,
pub apidoc_dir: Option<PathBuf>,
pub dump_apidoc_after_merge: Option<String>,
pub debug_type_inference: Vec<String>,
pub skip_codegen_lists: Vec<PathBuf>,
pub perl_build_mode: Option<PerlBuildMode>,
}Expand description
Inference フェーズの設定
Fields§
§bindings_path: Option<PathBuf>Rust バインディングファイル
apidoc_path: Option<PathBuf>apidoc ファイルパス(省略時は自動検索)
apidoc_dir: Option<PathBuf>apidoc ディレクトリ
dump_apidoc_after_merge: Option<String>apidoc マージ後にダンプして終了
debug_type_inference: Vec<String>型推論デバッグ対象のマクロ名リスト
skip_codegen_lists: Vec<PathBuf>codegen をスキップしたい関数名リストファイル。
1 行 1 名、# コメント可。複数指定可。
JSON の apidoc patches (skip_codegen) にマージされる
(同名は既存が優先)。
perl_build_mode: Option<PerlBuildMode>対象 perl の build mode(threaded / non-threaded)
None の場合は auto-detect(実行時に perl Config{usethreads} を読む)。
Some(...) で明示指定(テスト用)。
Implementations§
Source§impl InferConfig
impl InferConfig
Trait Implementations§
Source§impl Clone for InferConfig
impl Clone for InferConfig
Source§fn clone(&self) -> InferConfig
fn clone(&self) -> InferConfig
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 InferConfig
impl Debug for InferConfig
Source§impl Default for InferConfig
impl Default for InferConfig
Source§fn default() -> InferConfig
fn default() -> InferConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InferConfig
impl RefUnwindSafe for InferConfig
impl Send for InferConfig
impl Sync for InferConfig
impl Unpin for InferConfig
impl UnsafeUnpin for InferConfig
impl UnwindSafe for InferConfig
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