pub struct AdjacentRooms {
pub up: Option<RoomCoordinates>,
pub down: Option<RoomCoordinates>,
pub left: Option<RoomCoordinates>,
pub right: Option<RoomCoordinates>,
}
Fields§
§up: Option<RoomCoordinates>
§down: Option<RoomCoordinates>
§left: Option<RoomCoordinates>
§right: Option<RoomCoordinates>
Trait Implementations§
Source§impl Clone for AdjacentRooms
impl Clone for AdjacentRooms
Source§fn clone(&self) -> AdjacentRooms
fn clone(&self) -> AdjacentRooms
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 Freeze for AdjacentRooms
impl RefUnwindSafe for AdjacentRooms
impl Send for AdjacentRooms
impl Sync for AdjacentRooms
impl Unpin for AdjacentRooms
impl UnwindSafe for AdjacentRooms
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