pub struct DistanceMatrix {
pub entries: Vec<DistanceMatrixEntry>,
}Expand description
Travel-time matrix for origins × destinations.
Fields§
§entries: Vec<DistanceMatrixEntry>Entries in row-major origin-major order.
Trait Implementations§
Source§impl Clone for DistanceMatrix
impl Clone for DistanceMatrix
Source§fn clone(&self) -> DistanceMatrix
fn clone(&self) -> DistanceMatrix
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 moreSource§impl Debug for DistanceMatrix
impl Debug for DistanceMatrix
Source§impl<'de> Deserialize<'de> for DistanceMatrix
impl<'de> Deserialize<'de> for DistanceMatrix
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
Source§impl PartialEq for DistanceMatrix
impl PartialEq for DistanceMatrix
Source§impl Serialize for DistanceMatrix
impl Serialize for DistanceMatrix
impl StructuralPartialEq for DistanceMatrix
Auto Trait Implementations§
impl Freeze for DistanceMatrix
impl RefUnwindSafe for DistanceMatrix
impl Send for DistanceMatrix
impl Sync for DistanceMatrix
impl Unpin for DistanceMatrix
impl UnsafeUnpin for DistanceMatrix
impl UnwindSafe for DistanceMatrix
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