Projection
このコンテンツはまだ日本語訳がありません。
Defined in: state.rs:60
pub enum Projection { Unchanged, Changed,}Whether OdeState::project modified the state.
Variants
Section titled “Variants”Unchanged
Section titled “Unchanged”The state was left exactly as it was; a cached derivative taken at the unprojected state is still valid.
Changed
Section titled “Changed”The state was modified; any derivative cached at the unprojected state must be discarded.
Methods
Section titled “Methods”fn or(self, other: Projection) -> Projection
Combine the results of projecting the parts of a composite state:
Changed if either part changed.
changed()
Section titled “changed()”fn changed(self) -> bool
Whether the projection modified the state.