#[repr(transparent)]pub struct LaneMarkingWeight {
pub repr: u32,
}Expand description
Shared enum representing different weights 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 LaneMarkingWeight
impl Clone for LaneMarkingWeight
Source§impl ExternType for LaneMarkingWeight
impl ExternType for LaneMarkingWeight
Source§impl PartialEq for LaneMarkingWeight
impl PartialEq for LaneMarkingWeight
impl Copy for LaneMarkingWeight
impl Eq for LaneMarkingWeight
impl StructuralPartialEq for LaneMarkingWeight
Auto Trait Implementations§
impl Freeze for LaneMarkingWeight
impl RefUnwindSafe for LaneMarkingWeight
impl Send for LaneMarkingWeight
impl Sync for LaneMarkingWeight
impl Unpin for LaneMarkingWeight
impl UnwindSafe for LaneMarkingWeight
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