pub struct ConciseSourceToTargets {
pub durations: Vec<Vec<u32>>,
pub distances: Vec<Vec<f32>>,
}
Expand description
Concise source to target
Fields§
§durations: Vec<Vec<u32>>
The computed time between each set of points.
Time will always be 0
for
- the first element of the time-distance array for one_to_many,
- the last element in a many_to_one, and
- the first and last elements of a many_to_many
distances: Vec<Vec<f32>>
The computed distance between each set of points.
Distance will always be 0.00
for
- the first element of the time-distance array for one_to_many,
- the last element in a many_to_one, and
- the first and last elements of a many_to_many.
Trait Implementations§
Source§impl Clone for ConciseSourceToTargets
impl Clone for ConciseSourceToTargets
Source§fn clone(&self) -> ConciseSourceToTargets
fn clone(&self) -> ConciseSourceToTargets
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ConciseSourceToTargets
impl Debug for ConciseSourceToTargets
Source§impl<'de> Deserialize<'de> for ConciseSourceToTargets
impl<'de> Deserialize<'de> for ConciseSourceToTargets
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ConciseSourceToTargets
impl RefUnwindSafe for ConciseSourceToTargets
impl Send for ConciseSourceToTargets
impl Sync for ConciseSourceToTargets
impl Unpin for ConciseSourceToTargets
impl UnwindSafe for ConciseSourceToTargets
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