#![allow(
missing_docs,
dead_code,
unreachable_pub,
reason = "public native boundary fixtures inside private test modules; which of these fire differs per fixture"
)]
use flow_toolkit::{Encoded, Flow, Int, JsonValue};
#[derive(Flow, Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
pub struct Chain {
pub head: ::flow_toolkit::Int,
pub next: ::std::option::Option<::std::boxed::Box<Chain>>,
pub branches: ::std::vec::Vec<Chain>,
}
#[derive(Flow, Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
pub enum Tree {
Leaf(::flow_toolkit::Int),
Node(::std::boxed::Box<Tree>, ::std::boxed::Box<Tree>),
Forest(::std::vec::Vec<Tree>),
}
#[derive(Flow, Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
pub struct Keywords {
pub r#impl: ::flow_toolkit::Int,
pub r#ref: ::std::string::String,
#[flow(name = "self")]
pub self_: bool,
pub r#mod: ::std::option::Option<::flow_toolkit::Int>,
}
#[derive(Flow, Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
pub struct Loose {
pub raw: ::flow_toolkit::JsonValue,
pub nested: BoxJson,
}
#[derive(Flow, Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
pub enum Shape {
Dot,
Labelled {
label: ::std::option::Option<::std::string::String>,
size: ::flow_toolkit::Int,
},
Pair((::flow_toolkit::Int, ::std::string::String)),
}
#[derive(Flow, Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
pub enum Tools2 {
Tools(::flow_toolkit::Int),
}
#[derive(Flow, Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
pub struct BoundaryBox<T> {
pub value: T,
}
pub type BoxInt = BoundaryBox<Int>;
pub type BoxText = BoundaryBox<String>;
pub type BoxJson = BoundaryBox<JsonValue>;
pub type BoxBoxInt = BoundaryBox<BoxInt>;
pub type BoxT = BoundaryBox<Encoded>;