pub struct LayoutGraphContent {
pub nodes: Vec<Node>,
pub edges: Vec<Edge>,
pub entry: NodeId,
pub goal: NodeId,
pub critical_path: Vec<NodeId>,
pub beats: Vec<Beat>,
}Expand description
The layout-graph stage document’s payload: the campaign’s space as a graph,
stated before any coordinate exists.
Fields§
§nodes: Vec<Node>The places.
edges: Vec<Edge>The connections between them.
entry: NodeIdWhere a body starts.
goal: NodeIdWhere the campaign ends.
critical_path: Vec<NodeId>The authored node sequence from entry to goal.
Authored rather than derived so that it is a claim the machine
verifies (DW0817) and the walk sheet can print. A derived path would be
an answer with no author to disagree with.
beats: Vec<Beat>Where each quest beat happens. Empty is legal and is the graph before mission case — stated as a zero binding rather than passed over.
Trait Implementations§
Source§impl Clone for LayoutGraphContent
impl Clone for LayoutGraphContent
Source§fn clone(&self) -> LayoutGraphContent
fn clone(&self) -> LayoutGraphContent
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 LayoutGraphContent
impl Debug for LayoutGraphContent
Source§impl<'de> Deserialize<'de> for LayoutGraphContent
impl<'de> Deserialize<'de> for LayoutGraphContent
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
Source§impl JsonSchema for LayoutGraphContent
impl JsonSchema for LayoutGraphContent
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for LayoutGraphContent
impl PartialEq for LayoutGraphContent
Source§impl Serialize for LayoutGraphContent
impl Serialize for LayoutGraphContent
impl StructuralPartialEq for LayoutGraphContent
Auto Trait Implementations§
impl Freeze for LayoutGraphContent
impl RefUnwindSafe for LayoutGraphContent
impl Send for LayoutGraphContent
impl Sync for LayoutGraphContent
impl Unpin for LayoutGraphContent
impl UnsafeUnpin for LayoutGraphContent
impl UnwindSafe for LayoutGraphContent
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