Struct data::monster::MapLocation
source · pub struct MapLocation {
pub map: String,
pub desc: Option<String>,
}
Expand description
A location in a map
Fields§
§map: String
Name of the map. Example: Oasis Key World.
desc: Option<String>
More detailed location within the map.
Trait Implementations§
source§impl Clone for MapLocation
impl Clone for MapLocation
source§fn clone(&self) -> MapLocation
fn clone(&self) -> MapLocation
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 moreAuto Trait Implementations§
impl RefUnwindSafe for MapLocation
impl Send for MapLocation
impl Sync for MapLocation
impl Unpin for MapLocation
impl UnwindSafe for MapLocation
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