pub enum CausalRelation {
Before,
After,
Concurrent,
}Expand description
How two SpacetimeStamps relate causally. Before: self is in the past light cone of the
other (a signal from self could reach it). After: the reverse. Concurrent: spacelike —
neither can have affected the other.
Variants§
Trait Implementations§
Source§impl Clone for CausalRelation
impl Clone for CausalRelation
Source§fn clone(&self) -> CausalRelation
fn clone(&self) -> CausalRelation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CausalRelation
Source§impl Debug for CausalRelation
impl Debug for CausalRelation
impl Eq 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