pub struct ProfileInput {
pub bars: Range<usize>,
pub coverage: f64,
}Expand description
What a volume profile was built from.
Fields§
§bars: Range<usize>The chart bars the profile covers.
coverage: f64The share of those bars, from 0 to 1, whose volume comes from finer bars of the source
interval. The volume of the other bars is an estimate spread over each bar’s high to
low range, so 0 marks a profile that is an estimate throughout, unless its
source is its executions, which take no finer bars.
Trait Implementations§
Source§impl Clone for ProfileInput
impl Clone for ProfileInput
Source§fn clone(&self) -> ProfileInput
fn clone(&self) -> ProfileInput
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 ProfileInput
impl Debug for ProfileInput
Source§impl PartialEq for ProfileInput
impl PartialEq for ProfileInput
impl StructuralPartialEq for ProfileInput
Auto Trait Implementations§
impl Freeze for ProfileInput
impl RefUnwindSafe for ProfileInput
impl Send for ProfileInput
impl Sync for ProfileInput
impl Unpin for ProfileInput
impl UnsafeUnpin for ProfileInput
impl UnwindSafe for ProfileInput
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more