pub struct Formula {
pub base: Vec<ParentRequirement>,
pub mate: Vec<ParentRequirement>,
pub offspring: String,
}
Expand description
A breed formula
Fields§
§base: Vec<ParentRequirement>
The base monster in the formula.
mate: Vec<ParentRequirement>
The mate monster in the formula.
offspring: String
The name of the offspring monster.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Formula
impl Send for Formula
impl Sync for Formula
impl Unpin for Formula
impl UnwindSafe for Formula
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