pub struct Brouter { /* private fields */ }
Implementations§
Source§impl Brouter
impl Brouter
pub fn new(base_url: &str) -> Self
pub fn upload_profile(&self, profile: &str, data: Vec<u8>) -> Result<(), Error>
pub fn broute( &self, points: &[Point], nogos: &[Nogo], profile: &str, alternativeidx: Option<u8>, timode: Option<TurnInstructionMode>, name: Option<&str>, export_waypoints: bool, ) -> Result<Gpx, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Brouter
impl !RefUnwindSafe for Brouter
impl Send for Brouter
impl Sync for Brouter
impl Unpin for Brouter
impl !UnwindSafe for Brouter
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