Struct h3ron_graph::graph::longedge::LongEdge [−][src]
Expand description
A LongEdge is an artificial construct to combine a continuous path
of H3Edge values into a single edge.
This intended to be used to compress longer paths into a single edge to reduce the number of nodes to visit during routing.
Fields
in_edge: H3Edgeout_edge: H3EdgeImplementations
length of self as the number of contained h3edges
the path of the longedge described by multiple, successive H3Edge values
Trait Implementations
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
construct an longedge from a vec of H3Edges.
The H3Edge must be sorted according to the path they describe
Auto Trait Implementations
impl RefUnwindSafe for LongEdge
impl UnwindSafe for LongEdge
Blanket Implementations
Mutably borrows from an owned value. Read more