NullEop
このコンテンツはまだ日本語訳がありません。
Defined in: mod.rs:126
pub struct NullEopEOP placeholder that implements none of the EOP parameter traits.
これを受け付けるのは provider-free な API (Epoch<Utc>::to_ut1_naive など) のみで、
EOP trait bound を要求する全ての API では compile error になる。例えば
Epoch<Utc>::to_ut1<P: Ut1Offset> や Phase 3 で追加予定の
Rotation<Gcrs, Cirs>::iau2006 に NullEop を渡すと型エラーになる。
NullEop が直接使われる場面は現状ではほぼない。意図的に EOP trait を一つも
実装せず、高精度 API が silent に no-op 相当に degrade することを型レベルで
防ぐ compile-error 誘発装置 として存在する。trybuild compile-fail test で
この性質を pin している (arika/tests/trybuild/ 参照)。