pub struct Interval {
pub lo: f64,
pub hi: f64,
pub lo_open: bool,
pub hi_open: bool,
}Expand description
Real interval [lo, hi] (or open variants) for continuous
sources. Unbounded sides use f64::NEG_INFINITY /
f64::INFINITY; the V8 integrability check determines
whether such intervals are valid given the measure.
Fields§
§lo: f64The lower end.
hi: f64The upper end.
lo_open: boolWhether the lower end is excluded.
hi_open: boolWhether the upper end is excluded.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Interval
impl<'de> Deserialize<'de> for Interval
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Interval
Auto Trait Implementations§
impl Freeze for Interval
impl RefUnwindSafe for Interval
impl Send for Interval
impl Sync for Interval
impl Unpin for Interval
impl UnsafeUnpin for Interval
impl UnwindSafe for Interval
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