pub struct MapLocation {
pub direction: &'static str,
pub position: LuaAny,
}Fields§
§direction: &'static str§position: LuaAnyTrait 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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MapLocation
Source§impl Debug for MapLocation
impl Debug for MapLocation
Source§impl Default for MapLocation
impl Default for MapLocation
Source§fn default() -> MapLocation
fn default() -> MapLocation
Returns the “default value” for a type. Read more
Source§impl PartialEq for MapLocation
impl PartialEq for MapLocation
impl StructuralPartialEq for MapLocation
Auto Trait Implementations§
impl Freeze for MapLocation
impl RefUnwindSafe for MapLocation
impl Send for MapLocation
impl Sync for MapLocation
impl Unpin for MapLocation
impl UnsafeUnpin 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