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