#[non_exhaustive]pub struct Fill {
pub name: String,
pub crate_name: String,
pub engine: BTreeMap<String, String>,
pub engine_ref: String,
pub engine_docs: String,
}Expand description
What fills a template’s placeholders, but the answers.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: String{{name}}: the game’s name, as given (Moon Garden).
crate_name: String{{crate_name}}: its crate’s name (moon-garden).
engine: BTreeMap<String, String>"{{engine.<crate>}}": by an engine crate’s folder under
crates/ (core), the dependency on it, a TOML inline table.
engine_ref: String{{engine_ref}}: the engine’s commit the game builds with, as a
workflow’s uses: …@ names it (40 hex digits), or main.
engine_docs: String{{engine.docs}}: the engine’s rules and docs for the game’s agent,
a Markdown list.
Trait Implementations§
impl Eq for Fill
impl StructuralPartialEq for Fill
Auto Trait Implementations§
impl Freeze for Fill
impl RefUnwindSafe for Fill
impl Send for Fill
impl Sync for Fill
impl Unpin for Fill
impl UnsafeUnpin for Fill
impl UnwindSafe for Fill
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.