pub struct MapLocation {
pub map: String,
pub desc: Option<String>,
}Expand description
A location in a map
Fields§
§map: StringName 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 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 MapLocation
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