pub struct RoadMarkingValue {
pub value: f64,
pub unit: RoadMarkingValueUnit,
}Expand description
Numeric value (with unit) associated with a RoadMarking (e.g. a speed limit).
Fields§
§value: f64§unit: RoadMarkingValueUnitTrait Implementations§
Source§impl Clone for RoadMarkingValue
impl Clone for RoadMarkingValue
Source§fn clone(&self) -> RoadMarkingValue
fn clone(&self) -> RoadMarkingValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RoadMarkingValue
Source§impl Debug for RoadMarkingValue
impl Debug for RoadMarkingValue
Source§impl PartialEq for RoadMarkingValue
impl PartialEq for RoadMarkingValue
Source§fn eq(&self, other: &RoadMarkingValue) -> bool
fn eq(&self, other: &RoadMarkingValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RoadMarkingValue
Auto Trait Implementations§
impl Freeze for RoadMarkingValue
impl RefUnwindSafe for RoadMarkingValue
impl Send for RoadMarkingValue
impl Sync for RoadMarkingValue
impl Unpin for RoadMarkingValue
impl UnsafeUnpin for RoadMarkingValue
impl UnwindSafe for RoadMarkingValue
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