Struct sim::VehicleSpec [−][src]
pub struct VehicleSpec { pub vehicle_type: VehicleType, pub length: Distance, pub max_speed: Option<Speed>, }
Fields
vehicle_type: VehicleType
length: Distance
max_speed: Option<Speed>
Implementations
Trait Implementations
impl Clone for VehicleSpec
[src]
impl Clone for VehicleSpec
[src]fn clone(&self) -> VehicleSpec
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for VehicleSpec
[src]
impl<'de> Deserialize<'de> for VehicleSpec
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<VehicleSpec> for VehicleSpec
[src]
impl PartialEq<VehicleSpec> for VehicleSpec
[src]fn eq(&self, other: &VehicleSpec) -> bool
[src]
fn ne(&self, other: &VehicleSpec) -> bool
[src]
impl Serialize for VehicleSpec
[src]
impl Serialize for VehicleSpec
[src]impl StructuralPartialEq for VehicleSpec
[src]
Auto Trait Implementations
impl RefUnwindSafe for VehicleSpec
impl Send for VehicleSpec
impl Sync for VehicleSpec
impl Unpin for VehicleSpec
impl UnwindSafe for VehicleSpec
Blanket Implementations
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,