pub enum TrainPathFinderGoal {
TrainStopGoal(TrainStopGoal),
RailEndGoal(RailEndGoal),
RailEnd(LuaRailEnd),
Entity(LuaEntity),
}Variants§
Trait Implementations§
Source§impl Clone for TrainPathFinderGoal
impl Clone for TrainPathFinderGoal
Source§fn clone(&self) -> TrainPathFinderGoal
fn clone(&self) -> TrainPathFinderGoal
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 TrainPathFinderGoal
Source§impl Debug for TrainPathFinderGoal
impl Debug for TrainPathFinderGoal
Source§impl Default for TrainPathFinderGoal
impl Default for TrainPathFinderGoal
Source§impl From<LuaEntity> for TrainPathFinderGoal
impl From<LuaEntity> for TrainPathFinderGoal
Source§impl From<LuaRailEnd> for TrainPathFinderGoal
impl From<LuaRailEnd> for TrainPathFinderGoal
Source§fn from(value: LuaRailEnd) -> Self
fn from(value: LuaRailEnd) -> Self
Converts to this type from the input type.
Source§impl From<RailEndGoal> for TrainPathFinderGoal
impl From<RailEndGoal> for TrainPathFinderGoal
Source§fn from(value: RailEndGoal) -> Self
fn from(value: RailEndGoal) -> Self
Converts to this type from the input type.
Source§impl From<TrainPathFinderGoal> for LuaAny
impl From<TrainPathFinderGoal> for LuaAny
Source§fn from(_: TrainPathFinderGoal) -> Self
fn from(_: TrainPathFinderGoal) -> Self
Converts to this type from the input type.
Source§impl From<TrainStopGoal> for TrainPathFinderGoal
impl From<TrainStopGoal> for TrainPathFinderGoal
Source§fn from(value: TrainStopGoal) -> Self
fn from(value: TrainStopGoal) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TrainPathFinderGoal
impl PartialEq for TrainPathFinderGoal
impl StructuralPartialEq for TrainPathFinderGoal
Auto Trait Implementations§
impl Freeze for TrainPathFinderGoal
impl RefUnwindSafe for TrainPathFinderGoal
impl Send for TrainPathFinderGoal
impl Sync for TrainPathFinderGoal
impl Unpin for TrainPathFinderGoal
impl UnsafeUnpin for TrainPathFinderGoal
impl UnwindSafe for TrainPathFinderGoal
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