pub struct Range<R, T> { /* private fields */ }Expand description
Implements a Matcher, that matches if the argument is in the passed range R.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<R, T> Freeze for Range<R, T>where
R: Freeze,
impl<R, T> RefUnwindSafe for Range<R, T>where
R: RefUnwindSafe,
T: RefUnwindSafe,
impl<R, T> Send for Range<R, T>
impl<R, T> Sync for Range<R, T>
impl<R, T> Unpin for Range<R, T>
impl<R, T> UnsafeUnpin for Range<R, T>where
R: UnsafeUnpin,
impl<R, T> UnwindSafe for Range<R, T>where
R: UnwindSafe,
T: UnwindSafe,
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