[][src]Struct osmgraphing::network::GraphBuilder

pub struct GraphBuilder { /* fields omitted */ }

Methods

impl GraphBuilder[src]

pub fn new() -> Self[src]

pub fn push_node(&mut self, id: i64, coord: Coordinate) -> &mut Self[src]

pub fn is_node_in_edge(&self, id: i64) -> bool[src]

pub fn push_edge(
    &mut self,
    way_id: Option<i64>,
    src_id: i64,
    dst_id: i64,
    lane_count: u8,
    meters: Option<u32>,
    maxspeed: u16
) -> &mut Self
[src]

pub fn finalize(self) -> Result<Graph, String>[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]