pub struct Bracket<T> {
pub lo: T,
pub hi: T,
pub undecided: Option<T>,
}Expand description
Where a bisection ended: its bracket, and the middle whose side could not be told, if that is what stopped it.
Fields§
§lo: T§hi: T§undecided: Option<T>Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Bracket<T>where
T: Freeze,
impl<T> RefUnwindSafe for Bracket<T>where
T: RefUnwindSafe,
impl<T> Send for Bracket<T>where
T: Send,
impl<T> Sync for Bracket<T>where
T: Sync,
impl<T> Unpin for Bracket<T>where
T: Unpin,
impl<T> UnsafeUnpin for Bracket<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Bracket<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