SpaceTemporal

Trait SpaceTemporal 

Source
pub trait SpaceTemporal<VS, VT>:
    Identifiable
    + Spatial<VS>
    + Temporal<VT> {
    // Required method
    fn t(&self) -> &VT;
}
Expand description

Combines spatial and temporal semantics into a 4D spacetime model.

This is ideal for modeling causal entities that exist at a particular spatial location and point in time. The t() method supplements the coordinate system with a direct accessor for the temporal axis.

This trait enables compatibility with:

  • Newtonian and Einsteinian physics
  • Sensor frames
  • 4D event graphs

§Note

The actual meaning of t() depends on the context—e.g., wall clock time, simulation ticks, or a relativistic coordinate frame.

Required Methods§

Source

fn t(&self) -> &VT

Returns the value associated with the temporal (4th) dimension.

Implementors§