Struct fe_compiler_test_utils::GasReporter
source · pub struct GasReporter { /* private fields */ }
Implementations§
source§impl GasReporter
impl GasReporter
pub fn add_record(&self, description: &str, gas_used: u64)
pub fn add_func_call_record( &self, function: &str, input: &[Token], gas_used: u64 )
Trait Implementations§
source§impl Debug for GasReporter
impl Debug for GasReporter
source§impl Default for GasReporter
impl Default for GasReporter
source§fn default() -> GasReporter
fn default() -> GasReporter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for GasReporter
impl Send for GasReporter
impl !Sync for GasReporter
impl Unpin for GasReporter
impl UnwindSafe for GasReporter
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