Struct acacia::partition::Interval
[−]
[src]
pub struct Interval<T> { /* fields omitted */ }
A half-open interval [a, b) between two points a and b
Methods
impl<T: PartialOrd> Interval<T>
[src]
fn new(start: T, end: T) -> Interval<T>
Create a new interval given lower and upper bound
This constructor dynamically asserts that start < end
.
Trait Implementations
impl<T: Copy> Copy for Interval<T>
[src]
impl<T: Clone> Clone for Interval<T>
[src]
fn clone(&self) -> Interval<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more