pub struct Trace<T> { /* private fields */ }
Expand description
Data structure that represents a sequence of timed states
Implementations§
Source§impl<T> Trace<T>
impl<T> Trace<T>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn iter(&self) -> Iter<'_, T>
pub fn times(&self) -> Times<'_>
pub fn into_subtraces(self) -> Subtraces<T>
pub fn split_at(&mut self, time: f64) -> Option<Trace<T>>
pub fn retain_between(&mut self, lower: f64, upper: f64)
pub fn first_state(&self) -> Option<TimedState<'_, T>>
pub fn begin_at_zero(&mut self)
Trait Implementations§
Source§impl<T, P> Formula<Trace<T>> for Eventually<P>
impl<T, P> Formula<Trace<T>> for Eventually<P>
Source§impl<T> FromIterator<(f64, T)> for Trace<T>
impl<T> FromIterator<(f64, T)> for Trace<T>
Source§impl<T, P> Metric<Trace<T>> for Eventually<P>
impl<T, P> Metric<Trace<T>> for Eventually<P>
Auto Trait Implementations§
impl<T> Freeze for Trace<T>
impl<T> RefUnwindSafe for Trace<T>where
T: RefUnwindSafe,
impl<T> !Send for Trace<T>
impl<T> !Sync for Trace<T>
impl<T> Unpin for Trace<T>
impl<T> UnwindSafe for Trace<T>where
T: RefUnwindSafe,
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