pub struct Plan {
pub files: BTreeMap<PathBuf, Vec<u8>>,
pub parts: Vec<String>,
pub modules: Vec<String>,
pub targets: Vec<String>,
pub stages: Vec<String>,
pub skills: Vec<String>,
pub answers: Answers,
pub limits: Vec<String>,
}Expand description
What a template makes for a set of answers: the new game’s files and what its parts turn on.
Fields§
§files: BTreeMap<PathBuf, Vec<u8>>Every file, by its path from the game’s folder (/-separated),
with its bytes.
parts: Vec<String>The parts picked, in the template’s order.
modules: Vec<String>The engine’s modules turned on, by crate (shuyi-physics).
targets: Vec<String>The targets the parts ship on.
stages: Vec<String>The stages, in order.
skills: Vec<String>The engine’s skills it holds in .claude/skills/, by name: every
skill of its pack but the modules’.
answers: AnswersThe answers it was made for, each question the answers left out at its default.
limits: Vec<String>What the template doesn’t do for these answers.
Implementations§
Trait Implementations§
impl Eq for Plan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.