pub enum Parent {
Family(String),
Monster(String),
}
Expand description
A parent in a breed formula.
Variants§
Family(String)
Any monster in this family could be the parent. Value indicates the name of the family.
Monster(String)
The parent is this monster, whose name is the value.
Trait Implementations§
source§impl PartialEq<Parent> for Parent
impl PartialEq<Parent> for Parent
impl StructuralPartialEq for Parent
Auto Trait Implementations§
impl RefUnwindSafe for Parent
impl Send for Parent
impl Sync for Parent
impl Unpin for Parent
impl UnwindSafe for Parent
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