#[repr(transparent)]pub struct RoadMarkingValueUnit {
pub repr: i32,
}Expand description
Shared enum representing the unit of a RoadMarkingValue.
The order of these variants must match with the order of the enum class defined in maliput C++ API.
Fields§
§repr: i32Implementations§
Source§impl RoadMarkingValueUnit
impl RoadMarkingValueUnit
pub const kMetersPerSecond: Self
pub const kKilometersPerHour: Self
pub const kMilesPerHour: Self
Trait Implementations§
Source§impl Clone for RoadMarkingValueUnit
impl Clone for RoadMarkingValueUnit
impl Copy for RoadMarkingValueUnit
impl Eq for RoadMarkingValueUnit
Source§impl ExternType for RoadMarkingValueUnit
impl ExternType for RoadMarkingValueUnit
Source§impl PartialEq for RoadMarkingValueUnit
impl PartialEq for RoadMarkingValueUnit
Source§fn eq(&self, other: &RoadMarkingValueUnit) -> bool
fn eq(&self, other: &RoadMarkingValueUnit) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RoadMarkingValueUnit
Auto Trait Implementations§
impl Freeze for RoadMarkingValueUnit
impl RefUnwindSafe for RoadMarkingValueUnit
impl Send for RoadMarkingValueUnit
impl Sync for RoadMarkingValueUnit
impl Unpin for RoadMarkingValueUnit
impl UnsafeUnpin for RoadMarkingValueUnit
impl UnwindSafe for RoadMarkingValueUnit
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