Struct exar::Interval
[−]
[src]
pub struct Interval<T> { pub start: T, pub end: T, }
An interval.
Fields
start: T
The start of the interval.
end: T
The end of the interval.
Methods
impl<T> Interval<T>
[src]
Trait Implementations
impl<T: PartialEq> PartialEq for Interval<T>
[src]
fn eq(&self, __arg_0: &Interval<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Interval<T>) -> bool
This method tests for !=
.
impl<T: Eq> Eq for Interval<T>
[src]
impl<T: Debug> Debug 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