pub struct RailLocation {
pub direction: &'static str,
pub position: MapPosition,
pub rail_layer: &'static str,
}Fields§
§direction: &'static str§position: MapPosition§rail_layer: &'static strTrait Implementations§
Source§impl Clone for RailLocation
impl Clone for RailLocation
Source§fn clone(&self) -> RailLocation
fn clone(&self) -> RailLocation
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 RailLocation
Source§impl Debug for RailLocation
impl Debug for RailLocation
Source§impl Default for RailLocation
impl Default for RailLocation
Source§fn default() -> RailLocation
fn default() -> RailLocation
Returns the “default value” for a type. Read more
Source§impl PartialEq for RailLocation
impl PartialEq for RailLocation
impl StructuralPartialEq for RailLocation
Auto Trait Implementations§
impl Freeze for RailLocation
impl RefUnwindSafe for RailLocation
impl Send for RailLocation
impl Sync for RailLocation
impl Unpin for RailLocation
impl UnsafeUnpin for RailLocation
impl UnwindSafe for RailLocation
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