pub struct RangeBounds {
pub start: i128,
pub end: i128,
}Expand description
The half-open bounds of a Range value, widened to i128 so that an
inclusive i64::MAX end cannot overflow.
Fields§
§start: i128The first value the range can yield.
end: i128The first value past the end.
Implementations§
Source§impl RangeBounds
impl RangeBounds
Trait Implementations§
Source§impl Clone for RangeBounds
impl Clone for RangeBounds
Source§fn clone(&self) -> RangeBounds
fn clone(&self) -> RangeBounds
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 RangeBounds
Auto Trait Implementations§
impl Freeze for RangeBounds
impl RefUnwindSafe for RangeBounds
impl Send for RangeBounds
impl Sync for RangeBounds
impl Unpin for RangeBounds
impl UnsafeUnpin for RangeBounds
impl UnwindSafe for RangeBounds
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