Crate narrative

Crate narrative 

Source

Modules§

environment
prelude
runner
serde
step
story
value

Traits§

IndependentType
StoryOwnedType
Marker trait for types owned by a single story. Due to the Orphan Rule, using #[local_type_for] on remote types (types from other crates) will result in a compilation error. Additionally, attempting to use #[local_type_for] on the same type for multiple stories will cause conflicting trait implementations.

Attribute Macros§

local_type_for
Marks a data type as a local type for a specific story. This implements both IndependentType and <StoryName>LocalType for the type.
story
TODO: Add documentation.