pub const fn complete_with<F, Y, R, C>( f: F, ) -> impl Generator<R, Yield = Y, Return = C>where F: FnOnce(R) -> C,