pub enum Location<EdgeId> {
Line(LineLocation<EdgeId>),
}Expand description
Defines a location (in a map) that can be encoded using the OpenLR encoder and is also the result of the decoding process.
Variants§
Line(LineLocation<EdgeId>)
Trait Implementations§
impl<EdgeId> StructuralPartialEq for Location<EdgeId>
Auto Trait Implementations§
impl<EdgeId> Freeze for Location<EdgeId>
impl<EdgeId> RefUnwindSafe for Location<EdgeId>where
EdgeId: RefUnwindSafe,
impl<EdgeId> Send for Location<EdgeId>where
EdgeId: Send,
impl<EdgeId> Sync for Location<EdgeId>where
EdgeId: Sync,
impl<EdgeId> Unpin for Location<EdgeId>where
EdgeId: Unpin,
impl<EdgeId> UnwindSafe for Location<EdgeId>where
EdgeId: UnwindSafe,
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