#[repr(transparent)]pub struct LaneMarkingColor {
pub repr: u32,
}Expand description
Shared enum representing different colors of lane markings. This is needed to access the enum variant from Rust API since the C++ enum has an opaque implementation. The order of these variants must match with the order of the enum class defined in maliput C++ API.
Fields§
§repr: u32Implementations§
Trait Implementations§
Source§impl Clone for LaneMarkingColor
impl Clone for LaneMarkingColor
Source§impl ExternType for LaneMarkingColor
impl ExternType for LaneMarkingColor
Source§impl PartialEq for LaneMarkingColor
impl PartialEq for LaneMarkingColor
impl Copy for LaneMarkingColor
impl Eq for LaneMarkingColor
impl StructuralPartialEq for LaneMarkingColor
Auto Trait Implementations§
impl Freeze for LaneMarkingColor
impl RefUnwindSafe for LaneMarkingColor
impl Send for LaneMarkingColor
impl Sync for LaneMarkingColor
impl Unpin for LaneMarkingColor
impl UnwindSafe for LaneMarkingColor
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