Consider a continuous-time stochastic process $\{X_{t\in [a,b]}\}$ which is sufficiently well-behaved so that it can be integrated in some well-defined sense over $[a,b]$ (continuous, finite-valued, etc.). This integral would plausibly be (slightly abusing notation): $$W_t = \int_a^b X_t dt$$ How can one determine in general the distribution of $W_t$, the integral of this stochastic process with respect to time?
COMMENT: The answer to this question proposes a solution in the context of Brownian motion by suggesting to find the moments of $W_t$ to obtain the distribution in their example; are there no "integration rules" similar to those in traditional or Itô calculus that could be applied here that avoid this process?