pub struct FilterRange {
pub start: u64,
pub end: Option<u64>,
}Expand description
One inclusive range of values, with the deltas already resolved.
Fields§
§start: u64The first value the range admits.
end: Option<u64>The last value the range admits, or None for a range with no end.
Only the final Range in a filter may be unbounded, because the omission is what the reader uses to tell a trailing Start from the next Range’s.
Implementations§
Trait Implementations§
Source§impl Clone for FilterRange
impl Clone for FilterRange
Source§fn clone(&self) -> FilterRange
fn clone(&self) -> FilterRange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FilterRange
Source§impl Debug for FilterRange
impl Debug for FilterRange
impl Eq for FilterRange
Source§impl PartialEq for FilterRange
impl PartialEq for FilterRange
impl StructuralPartialEq for FilterRange
Auto Trait Implementations§
impl Freeze for FilterRange
impl RefUnwindSafe for FilterRange
impl Send for FilterRange
impl Sync for FilterRange
impl Unpin for FilterRange
impl UnsafeUnpin for FilterRange
impl UnwindSafe for FilterRange
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