[][src]Struct movingai::SceneRecord

pub struct SceneRecord {
    pub bucket: u32,
    pub map_file: String,
    pub map_width: usize,
    pub map_height: usize,
    pub start_pos: Coords2D,
    pub goal_pos: Coords2D,
    pub optimal_length: f64,
}

Represent a row (scene) in a scene file.

Fields

bucket: u32

Used to cluster pqth queries in the benchmark.

map_file: String

Name of the map file associated to the scene.

map_width: usize

Width of the map.

map_height: usize

Height of the map.

start_pos: Coords2D

Starting position.

goal_pos: Coords2D

Goal position.

optimal_length: f64

Optimal lenght of the path.

Trait Implementations

impl Clone for SceneRecord[src]

impl Debug for SceneRecord[src]

impl PartialEq<SceneRecord> for SceneRecord[src]

impl StructuralPartialEq for SceneRecord[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.