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 moreSource§impl Debug for CausalRelation
impl Debug for CausalRelation
Source§impl PartialEq for CausalRelation
impl PartialEq for CausalRelation
Source§fn eq(&self, other: &CausalRelation) -> bool
fn eq(&self, other: &CausalRelation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CausalRelation
impl Eq 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