pub struct EventTopology<A> {
pub aliases: FxHashMap<A, A>,
pub ordered_events: Vec<A>,
pub cascaded_events: BTreeSet<A>,
pub reset_clocks: FxHashMap<A, A>,
}Expand description
Source-independent event-domain topology after elaboration.
Addresses are already flattened. Source paths and frontend IDs used only for diagnostics or lookup deliberately live outside this structure.
Fields§
§aliases: FxHashMap<A, A>Alias event address to the canonical event-domain address.
ordered_events: Vec<A>Canonical event domains in evaluation order.
cascaded_events: BTreeSet<A>Canonical clocks whose value may be changed by another event domain.
reset_clocks: FxHashMap<A, A>Canonical asynchronous/synchronous reset to its canonical clock.
Implementations§
Trait Implementations§
Source§impl<A: Clone> Clone for EventTopology<A>
impl<A: Clone> Clone for EventTopology<A>
Source§fn clone(&self) -> EventTopology<A>
fn clone(&self) -> EventTopology<A>
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<A: Debug> Debug for EventTopology<A>
impl<A: Debug> Debug for EventTopology<A>
Source§impl<A> Default for EventTopology<A>
impl<A> Default for EventTopology<A>
Source§impl<'de, A> Deserialize<'de> for EventTopology<A>
impl<'de, A> Deserialize<'de> for EventTopology<A>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<A> Freeze for EventTopology<A>
impl<A> RefUnwindSafe for EventTopology<A>where
HashMap<A, A, BuildHasherDefault<FxHasher>>: RefUnwindSafe,
Vec<A>: RefUnwindSafe,
BTreeSet<A>: RefUnwindSafe,
impl<A> Send for EventTopology<A>
impl<A> Sync for EventTopology<A>
impl<A> Unpin for EventTopology<A>
impl<A> UnsafeUnpin for EventTopology<A>where
HashMap<A, A, BuildHasherDefault<FxHasher>>: UnsafeUnpin,
Vec<A>: UnsafeUnpin,
BTreeSet<A>: UnsafeUnpin,
impl<A> UnwindSafe for EventTopology<A>where
HashMap<A, A, BuildHasherDefault<FxHasher>>: UnwindSafe,
Vec<A>: UnwindSafe,
BTreeSet<A>: UnwindSafe,
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