pub enum Split<T> {
Done,
Restrict(T),
Halves(T, T),
}Expand description
What a visit made of its piece.
Variants§
Done
Nothing more to search in it: it holds no solution, or the visit has recorded the one it holds.
Restrict(T)
The piece narrowed to where its solutions can be (a clip).
Halves(T, T)
The piece cut in two, both to be searched.
Auto Trait Implementations§
impl<T> Freeze for Split<T>where
T: Freeze,
impl<T> RefUnwindSafe for Split<T>where
T: RefUnwindSafe,
impl<T> Send for Split<T>where
T: Send,
impl<T> Sync for Split<T>where
T: Sync,
impl<T> Unpin for Split<T>where
T: Unpin,
impl<T> UnsafeUnpin for Split<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Split<T>where
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