pub struct TrainStopGoal {
pub priority: u8,
pub train_stop: LuaEntity,
}Fields§
§priority: u8§train_stop: LuaEntityTrait Implementations§
Source§impl Clone for TrainStopGoal
impl Clone for TrainStopGoal
Source§fn clone(&self) -> TrainStopGoal
fn clone(&self) -> TrainStopGoal
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 TrainStopGoal
Source§impl Debug for TrainStopGoal
impl Debug for TrainStopGoal
Source§impl Default for TrainStopGoal
impl Default for TrainStopGoal
Source§fn default() -> TrainStopGoal
fn default() -> TrainStopGoal
Returns the “default value” for a type. Read more
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 TrainStopGoal
impl PartialEq for TrainStopGoal
impl StructuralPartialEq for TrainStopGoal
Auto Trait Implementations§
impl Freeze for TrainStopGoal
impl RefUnwindSafe for TrainStopGoal
impl Send for TrainStopGoal
impl Sync for TrainStopGoal
impl Unpin for TrainStopGoal
impl UnsafeUnpin for TrainStopGoal
impl UnwindSafe for TrainStopGoal
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