pub struct TrafficSignValue {
pub value: f64,
pub unit: TrafficSignValueUnit,
}Expand description
Holds a numeric value and its associated unit for a traffic sign.
Fields§
§value: f64§unit: TrafficSignValueUnitTrait Implementations§
Source§impl Clone for TrafficSignValue
impl Clone for TrafficSignValue
Source§fn clone(&self) -> TrafficSignValue
fn clone(&self) -> TrafficSignValue
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 TrafficSignValue
Source§impl Debug for TrafficSignValue
impl Debug for TrafficSignValue
Source§impl PartialEq for TrafficSignValue
impl PartialEq for TrafficSignValue
Source§fn eq(&self, other: &TrafficSignValue) -> bool
fn eq(&self, other: &TrafficSignValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TrafficSignValue
Auto Trait Implementations§
impl Freeze for TrafficSignValue
impl RefUnwindSafe for TrafficSignValue
impl Send for TrafficSignValue
impl Sync for TrafficSignValue
impl Unpin for TrafficSignValue
impl UnsafeUnpin for TrafficSignValue
impl UnwindSafe for TrafficSignValue
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