pub struct Family {
pub name: String,
pub members: Vec<String>,
}
Expand description
A family of monsters
Fields§
§name: String
Name of the family in lower case.
members: Vec<String>
List of name of monsters in this family.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Family
impl Send for Family
impl Sync for Family
impl Unpin for Family
impl UnwindSafe for Family
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