pub struct EventSpan {
pub whole: Option<Span>,
pub active: Span,
}Expand description
The span associated with a single event.
Fields§
§whole: Option<Span>The span within which the active part is relevant.
Also referred to as the event “structure”.
This is only relevant to patterns of discrete events.
Patterns of continuous values (i.e. signals) will always have a whole of None.
active: SpanThe span over which the event’s value is active.
Implementations§
Trait Implementations§
Source§impl Ord for EventSpan
impl Ord for EventSpan
Source§impl PartialOrd for EventSpan
impl PartialOrd for EventSpan
impl Copy for EventSpan
impl Eq for EventSpan
impl StructuralPartialEq for EventSpan
Auto Trait Implementations§
impl Freeze for EventSpan
impl RefUnwindSafe for EventSpan
impl Send for EventSpan
impl Sync for EventSpan
impl Unpin for EventSpan
impl UnwindSafe for EventSpan
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