pub struct TrainPathFinderOneGoalResult {
pub found_path: bool,
pub goal_index: u32,
pub is_front: bool,
pub path: &'static [LuaEntity],
pub penalty: f64,
pub start_index: u32,
pub steps_count: u32,
pub total_length: f64,
}Fields§
§found_path: bool§goal_index: u32§is_front: bool§path: &'static [LuaEntity]§penalty: f64§start_index: u32§steps_count: u32§total_length: f64Trait Implementations§
Source§impl Clone for TrainPathFinderOneGoalResult
impl Clone for TrainPathFinderOneGoalResult
Source§fn clone(&self) -> TrainPathFinderOneGoalResult
fn clone(&self) -> TrainPathFinderOneGoalResult
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 TrainPathFinderOneGoalResult
Source§impl Debug for TrainPathFinderOneGoalResult
impl Debug for TrainPathFinderOneGoalResult
Source§impl Default for TrainPathFinderOneGoalResult
impl Default for TrainPathFinderOneGoalResult
Source§fn default() -> TrainPathFinderOneGoalResult
fn default() -> TrainPathFinderOneGoalResult
Returns the “default value” for a type. Read more
impl StructuralPartialEq for TrainPathFinderOneGoalResult
Auto Trait Implementations§
impl Freeze for TrainPathFinderOneGoalResult
impl RefUnwindSafe for TrainPathFinderOneGoalResult
impl Send for TrainPathFinderOneGoalResult
impl Sync for TrainPathFinderOneGoalResult
impl Unpin for TrainPathFinderOneGoalResult
impl UnsafeUnpin for TrainPathFinderOneGoalResult
impl UnwindSafe for TrainPathFinderOneGoalResult
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