pub enum Unbreakable {}Expand description
A ControlFlow::Break type that can never happen.
This enum has the same purpose of std::convert::Infallible, but it is
specific to control flows. It should be ultimately replaced by the
! type if it becomes stable.
Auto Trait Implementations§
impl Freeze for Unbreakable
impl RefUnwindSafe for Unbreakable
impl Send for Unbreakable
impl Sync for Unbreakable
impl Unpin for Unbreakable
impl UnsafeUnpin for Unbreakable
impl UnwindSafe for Unbreakable
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