pub struct MatrixData {
pub index: usize,
pub timestamp: Option<Timestamp>,
pub durations: Vec<Duration>,
pub distances: Vec<Distance>,
}Expand description
Contains matrix routing data for specific profile and, optionally, time.
Fields
index: usizeA routing profile index.
timestamp: Option<Timestamp>A timestamp for which routing info is applicable.
durations: Vec<Duration>Travel durations.
distances: Vec<Distance>Travel distances.
Implementations
Auto Trait Implementations
impl RefUnwindSafe for MatrixData
impl Send for MatrixData
impl Sync for MatrixData
impl Unpin for MatrixData
impl UnwindSafe for MatrixData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more