pub struct CompilerStats {
pub subgraph_count: usize,
pub inlined_count: usize,
pub not_inlined_count: usize,
pub total_nodes_before: usize,
pub total_nodes_after: usize,
}Expand description
编译统计信息。
Fields§
§subgraph_count: usizeSubgraph 总数
inlined_count: usize已内联的 Subgraph 数量
not_inlined_count: usize未内联的 Subgraph 数量
total_nodes_before: usize总节点数(优化前)
total_nodes_after: usize总节点数(优化后)
Trait Implementations§
Source§impl Clone for CompilerStats
impl Clone for CompilerStats
Source§fn clone(&self) -> CompilerStats
fn clone(&self) -> CompilerStats
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 CompilerStats
impl Debug for CompilerStats
Source§impl Default for CompilerStats
impl Default for CompilerStats
Source§fn default() -> CompilerStats
fn default() -> CompilerStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CompilerStats
impl RefUnwindSafe for CompilerStats
impl Send for CompilerStats
impl Sync for CompilerStats
impl Unpin for CompilerStats
impl UnsafeUnpin for CompilerStats
impl UnwindSafe for CompilerStats
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