pub struct ParentRequirement {
pub parent: Parent,
pub min_plus: u8,
}Expand description
A parent in a breed formula, with some extra requirements.
Fields§
§parent: ParentThe parent in the breed formula
min_plus: u8The minimal +level of this parent. Usually this is just 0. But for some formulae (e.g. Slime + Slime = KingSlime) this is non-zero.
Trait Implementations§
Source§impl Clone for ParentRequirement
impl Clone for ParentRequirement
Source§fn clone(&self) -> ParentRequirement
fn clone(&self) -> ParentRequirement
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ParentRequirement
impl RefUnwindSafe for ParentRequirement
impl Send for ParentRequirement
impl Sync for ParentRequirement
impl Unpin for ParentRequirement
impl UnwindSafe for ParentRequirement
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