Struct rust_lapper::Interval [−][src]
pub struct Interval<I, T> where
I: PrimInt + Unsigned + Ord + Clone + Send + Sync,
T: Eq + Clone + Send + Sync, {
pub start: I,
pub stop: I,
pub val: T,
}
Expand description
Represent a range from [start, stop) Inclusive start, exclusive of stop
Fields
start: I
stop: I
val: T
Implementations
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<I, T> RefUnwindSafe for Interval<I, T> where
I: RefUnwindSafe,
T: RefUnwindSafe,
impl<I, T> UnwindSafe for Interval<I, T> where
I: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more