#[non_exhaustive]pub struct TimedEvent {
pub elapsed: Duration,
pub event: Event,
}Expand description
An event with monotonic time relative to this observation instance.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.elapsed: DurationTime since construction.
event: EventEvent category.
Trait Implementations§
Source§impl Clone for TimedEvent
impl Clone for TimedEvent
impl Copy for TimedEvent
Source§impl Debug for TimedEvent
impl Debug for TimedEvent
impl Eq for TimedEvent
Source§impl PartialEq for TimedEvent
impl PartialEq for TimedEvent
impl StructuralPartialEq for TimedEvent
Auto Trait Implementations§
impl Freeze for TimedEvent
impl RefUnwindSafe for TimedEvent
impl Send for TimedEvent
impl Sync for TimedEvent
impl Unpin for TimedEvent
impl UnsafeUnpin for TimedEvent
impl UnwindSafe for TimedEvent
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