pub struct PreparedH3EdgeGraph<W: Send + Sync> { /* private fields */ }
Expand description

a prepared graph which can be used for routing

Consequent H3Edges without

Implementations

iterate over all edges of the graph

iterate over all edges of the graph, while skipping simple H3Edge which are already covered in other LongEdge instances of the graph.

This function iterates the graph twice - the first time to collect all edges which are part of long-edges.

Trait Implementations

Return the bounding rectangle of a geometry Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

calculates a MultiPolygon of the area covered by a graph Read more

Deserialize this value from the given Serde deserializer. Read more

Performs the conversion.

Gets the index resolution (0-15)

Serialize this value into the given Serde serializer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

get the closest corresponding node in the graph to the given cell Read more

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

Returns found paths, transformed by the path_map_fn and keyed by the origin cell. Read more

Returns found paths keyed by the origin cell. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Find all cells connected to the graph within a given weight_threshold around the given origin_cell Read more

Find all cells connected to the graph within a given weight_threshold around the given origin_cells. Read more