pub struct ConformalSpacetime {
pub id: u64,
pub label: Option<String>,
pub causal_links: BTreeSet<u64>,
}Expand description
A minimal spacetime model preserving only causal and angular structure, based on conformal geometry.
ConformalSpacetime models causal relationships (what can influence what)
without assigning meaning to distances or durations. This is useful for:
- Conformal diagrams (Penrose diagrams)
- Asymptotic analysis (e.g., black hole horizons, AdS boundaries)
- Symbolic causal inference when exact metrics are unknown or irrelevant
§Fields
id: Unique identifier for this event or nodelabel: Optional symbolic annotation (e.g., “i+”, “scri−”, “origin”)causal_links: IDs of other nodes reachable via causal paths
§Notes
- This type ignores units, curvature, and absolute scale
- It encodes who can affect whom, not how or when
- Useful when embedding causal graphs inside bounded spacetime representations
§Example
use deep_causality::*;
let mut n1 = ConformalSpacetime::new(1, Some("Origin".into()));
let mut n2 = ConformalSpacetime::new(2, Some("Infinity".into()));
n1.link_to(2); // n1 can influence n2
assert!(n1.can_affect(2));Fields§
§id: u64Unique identifier for this event
label: Option<String>Optional symbolic label (e.g., “i+”, “scri”, “horizon”)
causal_links: BTreeSet<u64>Causally reachable nodes (light cone structure only)
Implementations§
Source§impl ConformalSpacetime
impl ConformalSpacetime
Trait Implementations§
Source§impl Clone for ConformalSpacetime
impl Clone for ConformalSpacetime
Source§fn clone(&self) -> ConformalSpacetime
fn clone(&self) -> ConformalSpacetime
Returns a duplicate of the value. Read more
1.0.0 · 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 ConformalSpacetime
impl Debug for ConformalSpacetime
Source§impl Display for ConformalSpacetime
impl Display for ConformalSpacetime
Source§impl PartialEq for ConformalSpacetime
impl PartialEq for ConformalSpacetime
impl StructuralPartialEq for ConformalSpacetime
Auto Trait Implementations§
impl Freeze for ConformalSpacetime
impl RefUnwindSafe for ConformalSpacetime
impl Send for ConformalSpacetime
impl Sync for ConformalSpacetime
impl Unpin for ConformalSpacetime
impl UnwindSafe for ConformalSpacetime
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