pub struct RangeSpan {
pub lower: Option<Box<Value<'static>>>,
pub upper: Option<Box<Value<'static>>>,
pub lower_inc: bool,
pub upper_inc: bool,
pub empty: bool,
}Expand description
v7.37.5 δ — single-range bounds without the kind tag. Used as
the element type of Value::Multirange { kind, ranges } so a
multirange carries one shared RangeKind plus N bounds-only
spans (saves 1 byte/elem vs duplicating the kind). The five
other fields mirror Value::Range exactly.
Fields§
§lower: Option<Box<Value<'static>>>§upper: Option<Box<Value<'static>>>§lower_inc: bool§upper_inc: bool§empty: boolTrait Implementations§
impl StructuralPartialEq for RangeSpan
Auto Trait Implementations§
impl Freeze for RangeSpan
impl RefUnwindSafe for RangeSpan
impl Send for RangeSpan
impl Sync for RangeSpan
impl Unpin for RangeSpan
impl UnsafeUnpin for RangeSpan
impl UnwindSafe for RangeSpan
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