pub struct When<F>(/* private fields */);Expand description
The policy when returns.
Implementations§
Trait Implementations§
impl<F: Copy> Copy for When<F>
Auto Trait Implementations§
impl<F> Freeze for When<F>where
F: Freeze,
impl<F> RefUnwindSafe for When<F>where
F: RefUnwindSafe,
impl<F> Send for When<F>where
F: Send,
impl<F> Sync for When<F>where
F: Sync,
impl<F> Unpin for When<F>where
F: Unpin,
impl<F> UnsafeUnpin for When<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for When<F>where
F: 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