pub enum LuaTrainManagerSearchDirection {
RespectMovementDirection,
AnyDirectionWithLocomotives,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for LuaTrainManagerSearchDirection
impl Clone for LuaTrainManagerSearchDirection
Source§fn clone(&self) -> LuaTrainManagerSearchDirection
fn clone(&self) -> LuaTrainManagerSearchDirection
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 LuaTrainManagerSearchDirection
impl Eq for LuaTrainManagerSearchDirection
Source§impl From<LuaTrainManagerSearchDirection> for LuaAny
impl From<LuaTrainManagerSearchDirection> for LuaAny
Source§fn from(_: LuaTrainManagerSearchDirection) -> Self
fn from(_: LuaTrainManagerSearchDirection) -> Self
Converts to this type from the input type.
Source§impl From<LuaTrainManagerSearchDirection> for &'static str
impl From<LuaTrainManagerSearchDirection> for &'static str
Source§fn from(value: LuaTrainManagerSearchDirection) -> Self
fn from(value: LuaTrainManagerSearchDirection) -> Self
Converts to this type from the input type.
Source§impl PartialEq<&str> for LuaTrainManagerSearchDirection
impl PartialEq<&str> for LuaTrainManagerSearchDirection
Source§impl PartialEq<LuaTrainManagerSearchDirection> for &str
impl PartialEq<LuaTrainManagerSearchDirection> for &str
impl StructuralPartialEq for LuaTrainManagerSearchDirection
Auto Trait Implementations§
impl Freeze for LuaTrainManagerSearchDirection
impl RefUnwindSafe for LuaTrainManagerSearchDirection
impl Send for LuaTrainManagerSearchDirection
impl Sync for LuaTrainManagerSearchDirection
impl Unpin for LuaTrainManagerSearchDirection
impl UnsafeUnpin for LuaTrainManagerSearchDirection
impl UnwindSafe for LuaTrainManagerSearchDirection
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