pub enum Direction<A, B> {
Low(A),
High(B),
}
Expand description
Whether or not the current candidate transition point is lower or higher than the search target.
Variants§
Auto Trait Implementations§
impl<A, B> Freeze for Direction<A, B>
impl<A, B> RefUnwindSafe for Direction<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Direction<A, B>
impl<A, B> Sync for Direction<A, B>
impl<A, B> Unpin for Direction<A, B>
impl<A, B> UnwindSafe for Direction<A, B>where
A: UnwindSafe,
B: 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