pub enum TrainPathRequestType {
Path,
AnyGoalAccessible,
AllGoalsAccessible,
AllGoalsPenalties,
}Expand description
A string specifying the type of request for LuaTrainManager::request_train_path.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TrainPathRequestType
impl Clone for TrainPathRequestType
Source§fn clone(&self) -> TrainPathRequestType
fn clone(&self) -> TrainPathRequestType
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 TrainPathRequestType
Source§impl Debug for TrainPathRequestType
impl Debug for TrainPathRequestType
Source§impl Default for TrainPathRequestType
impl Default for TrainPathRequestType
impl Eq for TrainPathRequestType
Source§impl From<TrainPathRequestType> for LuaAny
impl From<TrainPathRequestType> for LuaAny
Source§fn from(_: TrainPathRequestType) -> Self
fn from(_: TrainPathRequestType) -> Self
Converts to this type from the input type.
Source§impl From<TrainPathRequestType> for &'static str
impl From<TrainPathRequestType> for &'static str
Source§fn from(value: TrainPathRequestType) -> Self
fn from(value: TrainPathRequestType) -> Self
Converts to this type from the input type.
Source§impl Hash for TrainPathRequestType
impl Hash for TrainPathRequestType
Source§impl PartialEq for TrainPathRequestType
impl PartialEq for TrainPathRequestType
Source§impl PartialEq<&str> for TrainPathRequestType
impl PartialEq<&str> for TrainPathRequestType
Source§impl PartialEq<TrainPathRequestType> for &str
impl PartialEq<TrainPathRequestType> for &str
impl StructuralPartialEq for TrainPathRequestType
Auto Trait Implementations§
impl Freeze for TrainPathRequestType
impl RefUnwindSafe for TrainPathRequestType
impl Send for TrainPathRequestType
impl Sync for TrainPathRequestType
impl Unpin for TrainPathRequestType
impl UnsafeUnpin for TrainPathRequestType
impl UnwindSafe for TrainPathRequestType
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