Nonlinear and nonseparable structural functions in regression discontinuity designs with a continuous treatment