pub struct HistogramView {
pub bin_count: u32,
pub min_dps: f64,
pub max_dps: f64,
pub counts: Vec<u64>,
pub underflow: u64,
pub overflow: u64,
}Expand description
Equal-width DPS histogram with underflow and overflow counters.
Fields§
§bin_count: u32§min_dps: f64§max_dps: f64§counts: Vec<u64>§underflow: u64§overflow: u64Trait Implementations§
Source§impl Clone for HistogramView
impl Clone for HistogramView
Source§fn clone(&self) -> HistogramView
fn clone(&self) -> HistogramView
Returns a duplicate of the value. Read more
1.0.0 · 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 HistogramView
impl Debug for HistogramView
Source§impl Serialize for HistogramView
impl Serialize for HistogramView
Source§impl Tsify for HistogramView
impl Tsify for HistogramView
const DECL: &'static str = "/**\n * Equal-width DPS histogram with underflow and overflow counters.\n */\nexport interface HistogramView {\n bin_count: number;\n min_dps: number;\n max_dps: number;\n counts: number[];\n underflow: number;\n overflow: number;\n}"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
Auto Trait Implementations§
impl Freeze for HistogramView
impl RefUnwindSafe for HistogramView
impl Send for HistogramView
impl Sync for HistogramView
impl Unpin for HistogramView
impl UnsafeUnpin for HistogramView
impl UnwindSafe for HistogramView
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