pub struct Recur<'a, I, O>(pub &'a dyn for<'b> Fn(&'b I) -> O);Expand description
A wrapper around the recursive self-handle to keep rust-analyzer from
hanging. See rust-analyzer#11063
Tuple Fields§
§0: &'a dyn for<'b> Fn(&'b I) -> OImplementations§
Trait Implementations§
impl<'a, I: Copy, O: Copy> Copy for Recur<'a, I, O>
Auto Trait Implementations§
impl<'a, I, O> Freeze for Recur<'a, I, O>
impl<'a, I, O> !RefUnwindSafe for Recur<'a, I, O>
impl<'a, I, O> !Send for Recur<'a, I, O>
impl<'a, I, O> !Sync for Recur<'a, I, O>
impl<'a, I, O> Unpin for Recur<'a, I, O>
impl<'a, I, O> !UnwindSafe for Recur<'a, I, O>
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