pub struct Event<C: GroupType, T: PositionType> {
pub chr: C,
pub pos: T,
pub is_start: bool,
pub first_set: bool,
pub idx: u32,
}Expand description
An “event” in the sweep line:
pos: the coordinate (start or end of an interval)is_start: true if it’s a start event, false if it’s an end eventset_id: which set does this interval belong to? (1 or 2)idx: the interval’s ID/index
Fields§
§chr: C§pos: T§is_start: bool§first_set: bool§idx: u32Trait Implementations§
Auto Trait Implementations§
impl<C, T> Freeze for Event<C, T>
impl<C, T> RefUnwindSafe for Event<C, T>where
C: RefUnwindSafe,
T: RefUnwindSafe,
impl<C, T> Send for Event<C, T>
impl<C, T> Sync for Event<C, T>
impl<C, T> Unpin for Event<C, T>
impl<C, T> UnwindSafe for Event<C, T>where
C: UnwindSafe,
T: 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