pub enum CausalRelation {
Timelike,
Lightlike,
Spacelike,
}Expand description
A causal relation between two events in spacetime (T35).
Given two events (Instant + Pose), their separation determines whether one can causally influence the other. The light cone divides spacetime into:
- Timelike: inside the cone — subluminal signal can connect them
- Lightlike (null): on the cone — only light can connect them
- Spacelike: outside the cone — no causal connection possible
Variants§
Timelike
Inside the light cone — a subluminal signal can connect the events.
Lightlike
On the light cone — only a light signal can connect the events.
Spacelike
Outside the light cone — no causal connection is possible.
Implementations§
Source§impl CausalRelation
impl CausalRelation
Sourcepub fn allows_causation(self) -> bool
pub fn allows_causation(self) -> bool
Returns true if the earlier event can causally influence the later.
Sourcepub fn is_causally_disconnected(self) -> bool
pub fn is_causally_disconnected(self) -> bool
Returns true if the events are causally disconnected.
Trait Implementations§
Source§impl Clone for CausalRelation
impl Clone for CausalRelation
impl Copy for CausalRelation
Source§impl Debug for CausalRelation
impl Debug for CausalRelation
impl Eq for CausalRelation
Source§impl Hash for CausalRelation
impl Hash for CausalRelation
Source§impl PartialEq for CausalRelation
impl PartialEq for CausalRelation
impl StructuralPartialEq for CausalRelation
Auto Trait Implementations§
impl Freeze for CausalRelation
impl RefUnwindSafe for CausalRelation
impl Send for CausalRelation
impl Sync for CausalRelation
impl Unpin for CausalRelation
impl UnsafeUnpin for CausalRelation
impl UnwindSafe for CausalRelation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.