pub struct TimelineElement<T: Eq + Ord + Copy + Zero + Bounded, M: Metrics<T>> {
pub time: T,
pub metrics: M,
pub samples: usize,
}Fields§
§time: T§metrics: M§samples: usizeImplementations§
Trait Implementations§
Source§impl<T: Clone + Eq + Ord + Copy + Zero + Bounded, M: Clone + Metrics<T>> Clone for TimelineElement<T, M>
impl<T: Clone + Eq + Ord + Copy + Zero + Bounded, M: Clone + Metrics<T>> Clone for TimelineElement<T, M>
Source§fn clone(&self) -> TimelineElement<T, M>
fn clone(&self) -> TimelineElement<T, M>
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 moreAuto Trait Implementations§
impl<T, M> Freeze for TimelineElement<T, M>
impl<T, M> RefUnwindSafe for TimelineElement<T, M>where
T: RefUnwindSafe,
M: RefUnwindSafe,
impl<T, M> Send for TimelineElement<T, M>
impl<T, M> Sync for TimelineElement<T, M>
impl<T, M> Unpin for TimelineElement<T, M>
impl<T, M> UnwindSafe for TimelineElement<T, M>where
T: UnwindSafe,
M: UnwindSafe,
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