Enum synthpop::ExternalTripEndpoint
source · [−]pub enum ExternalTripEndpoint {
TripEndpoint(TripEndpoint),
Position(LonLat),
}
Variants
TripEndpoint(TripEndpoint)
Position(LonLat)
Trait Implementations
sourceimpl<'de> Deserialize<'de> for ExternalTripEndpoint
impl<'de> Deserialize<'de> for ExternalTripEndpoint
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for ExternalTripEndpoint
impl Send for ExternalTripEndpoint
impl Sync for ExternalTripEndpoint
impl Unpin for ExternalTripEndpoint
impl UnwindSafe for ExternalTripEndpoint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self