pub struct GasIndexAlgorithm { /* private fields */ }
Implementations§
Source§impl GasIndexAlgorithm
impl GasIndexAlgorithm
Sourcepub const fn new_uninitialized(algorithm_type: AlgorithmType) -> Self
pub const fn new_uninitialized(algorithm_type: AlgorithmType) -> Self
SAFETY: must call ‘init_with_sampling_interval’ before processing
pub fn new(algorithm_type: AlgorithmType, sampling_interval: f32) -> Self
pub fn init_with_sampling_interval(&mut self, sampling_interval: f32)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GasIndexAlgorithm
impl RefUnwindSafe for GasIndexAlgorithm
impl Send for GasIndexAlgorithm
impl Sync for GasIndexAlgorithm
impl Unpin for GasIndexAlgorithm
impl UnwindSafe for GasIndexAlgorithm
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