pub struct CompileStats {
pub lines: usize,
pub bytecode: usize,
pub bytecode_instruction_count: usize,
pub codegen: usize,
pub read_time: f64,
pub misc_time: f64,
pub parse_time: f64,
pub compile_time: f64,
pub codegen_time: f64,
pub lower_stats: LoweringStats,
}Fields§
§lines: usize§bytecode: usize§bytecode_instruction_count: usize§codegen: usize§read_time: f64§misc_time: f64§parse_time: f64§compile_time: f64§codegen_time: f64§lower_stats: LoweringStatsImplementations§
Source§impl CompileStats
impl CompileStats
pub fn compile_stats_operator_add(&self, other: &CompileStats) -> CompileStats
Source§impl CompileStats
impl CompileStats
pub fn compile_stats_operator_add_assign( &mut self, other: &CompileStats, ) -> &mut Self
Trait Implementations§
Source§impl Add for CompileStats
impl Add for CompileStats
Source§type Output = CompileStats
type Output = CompileStats
The resulting type after applying the
+ operator.Source§impl Add<&CompileStats> for &CompileStats
impl Add<&CompileStats> for &CompileStats
Source§type Output = CompileStats
type Output = CompileStats
The resulting type after applying the
+ operator.Source§impl AddAssign<&CompileStats> for CompileStats
impl AddAssign<&CompileStats> for CompileStats
Source§fn add_assign(&mut self, other: &CompileStats)
fn add_assign(&mut self, other: &CompileStats)
Performs the
+= operation. Read moreSource§impl Clone for CompileStats
impl Clone for CompileStats
Source§fn clone(&self) -> CompileStats
fn clone(&self) -> CompileStats
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 CompileStats
impl Debug for CompileStats
Auto Trait Implementations§
impl Freeze for CompileStats
impl RefUnwindSafe for CompileStats
impl Send for CompileStats
impl Sync for CompileStats
impl Unpin for CompileStats
impl UnsafeUnpin for CompileStats
impl UnwindSafe for CompileStats
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