pub struct JavascriptBenchmarkConfig {
pub iterations: usize,
pub warmup_iterations: usize,
}Fields§
§iterations: usize§warmup_iterations: usizeTrait Implementations§
Source§impl Clone for JavascriptBenchmarkConfig
impl Clone for JavascriptBenchmarkConfig
Source§fn clone(&self) -> JavascriptBenchmarkConfig
fn clone(&self) -> JavascriptBenchmarkConfig
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 JavascriptBenchmarkConfig
impl Debug for JavascriptBenchmarkConfig
Source§impl Default for JavascriptBenchmarkConfig
impl Default for JavascriptBenchmarkConfig
Source§impl<'de> Deserialize<'de> for JavascriptBenchmarkConfig
impl<'de> Deserialize<'de> for JavascriptBenchmarkConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for JavascriptBenchmarkConfig
Source§impl PartialEq for JavascriptBenchmarkConfig
impl PartialEq for JavascriptBenchmarkConfig
Source§fn eq(&self, other: &JavascriptBenchmarkConfig) -> bool
fn eq(&self, other: &JavascriptBenchmarkConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for JavascriptBenchmarkConfig
Auto Trait Implementations§
impl Freeze for JavascriptBenchmarkConfig
impl RefUnwindSafe for JavascriptBenchmarkConfig
impl Send for JavascriptBenchmarkConfig
impl Sync for JavascriptBenchmarkConfig
impl Unpin for JavascriptBenchmarkConfig
impl UnsafeUnpin for JavascriptBenchmarkConfig
impl UnwindSafe for JavascriptBenchmarkConfig
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