1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
//! # Traits — umbrella re-export hub.
//!
//! Mirrors every trait each sub-crate exports from its own `traits` module,
//! under the same feature gates. Hub membership is **independent of prelude
//! membership**: a trait kept out of [`crate::prelude`] — because it has no
//! in-tree implementors, or because it is feature-gated and the prelude is
//! deliberately feature-flag-free — still belongs here, and
//! `website/content/docs/concepts/prelude.mdx` tells readers to "reach via
//! `traits::*`" on exactly that basis. `MultivariateExt`, `CallableDist`,
//! `ShortRatePricer`, `VanillaEuropeanCall` and `GreeksExt` are all in that
//! position.
//!
//! The quant half of the mirror is derivable, so a future omission is
//! measurable rather than a matter of reading:
//!
//! ```text
//! diff <(grep '^pub use \(calibration\|instrument\|pricing\|short_rate\|time\)::' \
//! stochastic-rs-quant/src/traits.rs | sed 's/.*:://;s/;//' | sort) \
//! <(grep '^pub use stochastic_rs_quant::traits::' src/traits.rs \
//! | sed 's/.*:://;s/;//' | sort)
//! ```
//!
//! `tests/prelude_completeness.rs` names the prelude-excluded traits
//! explicitly, so dropping one from this hub is a compile error there.
pub use BivariateExt;
pub use MultivariateExt;
pub use TailDependence;
pub use CallableDist;
pub use DistributionExt;
pub use DistributionSampler;
pub use FloatExt;
pub use Fn1D;
pub use Fn2D;
pub use RealExt;
pub use SimdFloatExt;
pub use CalibrationResult;
pub use Calibrator;
pub use Greeks;
pub use GreeksExt;
pub use Instrument;
pub use InstrumentExt;
pub use ModelPricer;
pub use PricingEngine;
pub use PricingResult;
pub use ShortRatePricer;
pub use StandardResult;
pub use TimeExt;
pub use ToModel;
pub use ToShortRateModel;
pub use VanillaEuropeanCall;
pub use FractalDimEstimator;
pub use HurstEstimator;
pub use DiffusionModel;
pub use HypothesisTest;
pub use Backend;
pub use Cpu;
pub use FgnBackend;
pub use ComplexPathOutput;
pub use CurveOutput;
pub use MultiDimensional;
pub use OneDimensional;
pub use PathSampler;
pub use ProcessExt;
pub use TwoDimensional;
pub use VariableDimensional;
pub use VolterraKernel;