pub struct Plan {
pub name: String,
pub description: String,
pub palette: Palette,
pub builds: Vec<Build>,
pub needs: Vec<Need>,
pub veils: Vec<Veil>,
pub spawns: Vec<PlanSpawn>,
pub lights: Vec<PlanLight>,
pub signs: Vec<Sign>,
}Expand description
A laid-out place: its ground, what it needs, and how you get in and out.
Fields§
§name: String§description: String§palette: PaletteThe style and material family the whole place keeps to. Commissions inherit it; off-palette matches are allowed but never preferred.
builds: Vec<Build>Geometry the browser draws directly — ground, walls, copings,
plinths. Cheap stone should not cost a model fetch: a wall segment is
a box, and asking a store for one (or commissioning it!) would be
silly. Only things worth being a model go in Plan::needs.
needs: Vec<Need>The bill of requirements: what goes where, described by what it must BE rather than which file it is.
veils: Vec<Veil>Doorways out of this place.
spawns: Vec<PlanSpawn>§lights: Vec<PlanLight>§signs: Vec<Sign>Named boards — the place’s own words.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Plan
impl<'de> Deserialize<'de> for Plan
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
impl StructuralPartialEq for Plan
Auto Trait Implementations§
impl Freeze for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Plan
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