pub struct ElaboratedDesign<A> {
pub state_objects: FxHashMap<A, VariableMetadata>,
pub events: EventTopology<A>,
pub initial_state: Vec<InitialStateValue<A>>,
}Expand description
Backend-neutral semantic design data after hierarchy flattening.
This is intentionally not a frontend lookup table: every state object is keyed by its flattened semantic address, and no source-language AST or path type is retained.
Fields§
§state_objects: FxHashMap<A, VariableMetadata>§events: EventTopology<A>§initial_state: Vec<InitialStateValue<A>>Trait Implementations§
Source§impl<A: Clone> Clone for ElaboratedDesign<A>
impl<A: Clone> Clone for ElaboratedDesign<A>
Source§fn clone(&self) -> ElaboratedDesign<A>
fn clone(&self) -> ElaboratedDesign<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 ElaboratedDesign<A>
impl<A: Debug> Debug for ElaboratedDesign<A>
Source§impl<A> Default for ElaboratedDesign<A>
impl<A> Default for ElaboratedDesign<A>
Source§impl<'de, A> Deserialize<'de> for ElaboratedDesign<A>
impl<'de, A> Deserialize<'de> for ElaboratedDesign<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 ElaboratedDesign<A>where
HashMap<A, VariableMetadata, BuildHasherDefault<FxHasher>>: Freeze,
EventTopology<A>: Freeze,
Vec<InitialStateValue<A>>: Freeze,
impl<A> RefUnwindSafe for ElaboratedDesign<A>where
HashMap<A, VariableMetadata, BuildHasherDefault<FxHasher>>: RefUnwindSafe,
EventTopology<A>: RefUnwindSafe,
Vec<InitialStateValue<A>>: RefUnwindSafe,
impl<A> Send for ElaboratedDesign<A>where
HashMap<A, VariableMetadata, BuildHasherDefault<FxHasher>>: Send,
EventTopology<A>: Send,
Vec<InitialStateValue<A>>: Send,
impl<A> Sync for ElaboratedDesign<A>where
HashMap<A, VariableMetadata, BuildHasherDefault<FxHasher>>: Sync,
EventTopology<A>: Sync,
Vec<InitialStateValue<A>>: Sync,
impl<A> Unpin for ElaboratedDesign<A>where
HashMap<A, VariableMetadata, BuildHasherDefault<FxHasher>>: Unpin,
EventTopology<A>: Unpin,
Vec<InitialStateValue<A>>: Unpin,
impl<A> UnsafeUnpin for ElaboratedDesign<A>where
HashMap<A, VariableMetadata, BuildHasherDefault<FxHasher>>: UnsafeUnpin,
EventTopology<A>: UnsafeUnpin,
Vec<InitialStateValue<A>>: UnsafeUnpin,
impl<A> UnwindSafe for ElaboratedDesign<A>where
HashMap<A, VariableMetadata, BuildHasherDefault<FxHasher>>: UnwindSafe,
EventTopology<A>: UnwindSafe,
Vec<InitialStateValue<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