pub struct ControlFlowResidual<B>(pub B);Expand description
The residual type representing an early break for ControlFlow.
Tuple Fields§
§0: BTrait Implementations§
Source§impl<B: Clone> Clone for ControlFlowResidual<B>
impl<B: Clone> Clone for ControlFlowResidual<B>
impl<B: Copy> Copy for ControlFlowResidual<B>
Source§impl<B: Debug> Debug for ControlFlowResidual<B>
impl<B: Debug> Debug for ControlFlowResidual<B>
impl<B: Eq> Eq for ControlFlowResidual<B>
Source§impl<B, C, B2: From<B>> FromResidual<ControlFlowResidual<B>> for ControlFlow<B2, C>
impl<B, C, B2: From<B>> FromResidual<ControlFlowResidual<B>> for ControlFlow<B2, C>
Source§fn from_residual(residual: ControlFlowResidual<B>) -> Self
fn from_residual(residual: ControlFlowResidual<B>) -> Self
Constructs
Self from the given residual.Source§impl<B: Hash> Hash for ControlFlowResidual<B>
impl<B: Hash> Hash for ControlFlowResidual<B>
Source§impl<B: Ord> Ord for ControlFlowResidual<B>
impl<B: Ord> Ord for ControlFlowResidual<B>
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl<B: PartialEq> PartialEq for ControlFlowResidual<B>
impl<B: PartialEq> PartialEq for ControlFlowResidual<B>
Source§impl<B: PartialOrd> PartialOrd for ControlFlowResidual<B>
impl<B: PartialOrd> PartialOrd for ControlFlowResidual<B>
impl<B: PartialEq> StructuralPartialEq for ControlFlowResidual<B>
Auto Trait Implementations§
impl<B> Forget for ControlFlowResidual<B>
impl<B> Freeze for ControlFlowResidual<B>where
B: Freeze,
impl<B> Move for ControlFlowResidual<B>
impl<B> RefUnwindSafe for ControlFlowResidual<B>where
B: RefUnwindSafe,
impl<B> Send for ControlFlowResidual<B>where
B: Send,
impl<B> Sync for ControlFlowResidual<B>where
B: Sync,
impl<B> Unpin for ControlFlowResidual<B>where
B: Unpin,
impl<B> UnsafeUnpin for ControlFlowResidual<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for ControlFlowResidual<B>where
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