pub struct Range {
pub flags: u8,
pub lower: Value,
pub upper: Value,
}Expand description
A value of a range type: the flags of rangetypes.h and the two bounds. A bound that is infinite is Value::Null, and so are both bounds of an empty range.
Fields§
§flags: u8§lower: Value§upper: ValueImplementations§
Trait Implementations§
impl StructuralPartialEq for Range
Auto Trait Implementations§
impl Freeze for Range
impl RefUnwindSafe for Range
impl Send for Range
impl Sync for Range
impl Unpin for Range
impl UnsafeUnpin for Range
impl UnwindSafe for Range
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