#[repr(transparent)]pub struct LaneMarkingType {
pub repr: u32,
}Expand description
Shared enum representing different types 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§
Source§impl LaneMarkingType
impl LaneMarkingType
pub const kUnknown: Self
pub const kNone: Self
pub const kSolid: Self
pub const kBroken: Self
pub const kSolidSolid: Self
pub const kSolidBroken: Self
pub const kBrokenSolid: Self
pub const kBrokenBroken: Self
pub const kBottsDots: Self
pub const kGrass: Self
pub const kCurb: Self
pub const kEdge: Self
Trait Implementations§
Source§impl Clone for LaneMarkingType
impl Clone for LaneMarkingType
Source§impl ExternType for LaneMarkingType
impl ExternType for LaneMarkingType
Source§impl PartialEq for LaneMarkingType
impl PartialEq for LaneMarkingType
impl Copy for LaneMarkingType
impl Eq for LaneMarkingType
impl StructuralPartialEq for LaneMarkingType
Auto Trait Implementations§
impl Freeze for LaneMarkingType
impl RefUnwindSafe for LaneMarkingType
impl Send for LaneMarkingType
impl Sync for LaneMarkingType
impl Unpin for LaneMarkingType
impl UnwindSafe for LaneMarkingType
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