pub struct CompilerContext<S: WorkflowState> {
pub max_inline_size: usize,
pub debug: bool,
pub stats: CompilerStats,
/* private fields */
}Expand description
编译上下文 — 包含配置和统计信息。
Fields§
§max_inline_size: usize最大内联图大小(节点数)
debug: bool是否启用调试输出
stats: CompilerStats统计信息
Implementations§
Source§impl<S: WorkflowState> CompilerContext<S>
impl<S: WorkflowState> CompilerContext<S>
Trait Implementations§
Source§impl<S: WorkflowState> Default for CompilerContext<S>
impl<S: WorkflowState> Default for CompilerContext<S>
Auto Trait Implementations§
impl<S> Freeze for CompilerContext<S>
impl<S> RefUnwindSafe for CompilerContext<S>where
S: RefUnwindSafe,
impl<S> Send for CompilerContext<S>
impl<S> Sync for CompilerContext<S>
impl<S> Unpin for CompilerContext<S>where
S: Unpin,
impl<S> UnsafeUnpin for CompilerContext<S>
impl<S> UnwindSafe for CompilerContext<S>where
S: UnwindSafe,
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