Struct breed_planner::breed::MonsterVis
source · struct MonsterVis {
monster: Monster,
role: Option<Role>,
name: Option<String>,
}
Expand description
Monster visualization spec. This defines how the monster is displayed in the generated breed plan.
Fields§
§monster: Monster
§role: Option<Role>
§name: Option<String>
This is the in-game name of the monster, given by the player.
Different from Monster::name
.
Implementations§
Trait Implementations§
source§impl Clone for MonsterVis
impl Clone for MonsterVis
source§fn clone(&self) -> MonsterVis
fn clone(&self) -> MonsterVis
Returns a copy 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 moresource§impl Debug for MonsterVis
impl Debug for MonsterVis
source§impl FromStr for MonsterVis
impl FromStr for MonsterVis
source§impl Hash for MonsterVis
impl Hash for MonsterVis
source§impl PartialEq<MonsterVis> for MonsterVis
impl PartialEq<MonsterVis> for MonsterVis
impl Eq for MonsterVis
Auto Trait Implementations§
impl RefUnwindSafe for MonsterVis
impl Send for MonsterVis
impl Sync for MonsterVis
impl Unpin for MonsterVis
impl UnwindSafe for MonsterVis
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