pub struct ManeuverSignElement {
pub text: String,
pub consecutive_count: Option<usize>,
}
Expand description
A sign element is a single text string that is part of a sign.
Fields§
§text: String
Interchange sign text.
Examples:
- exit number:
91B
- exit branch:
I 95 North
- exit toward:
New York
- exit name:
Gettysburg Pike
consecutive_count: Option<usize>
The frequency of this sign element within a set a consecutive signs
Trait Implementations§
Source§impl Clone for ManeuverSignElement
impl Clone for ManeuverSignElement
Source§fn clone(&self) -> ManeuverSignElement
fn clone(&self) -> ManeuverSignElement
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ManeuverSignElement
impl Debug for ManeuverSignElement
Source§impl<'de> Deserialize<'de> for ManeuverSignElement
impl<'de> Deserialize<'de> for ManeuverSignElement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ManeuverSignElement
impl RefUnwindSafe for ManeuverSignElement
impl Send for ManeuverSignElement
impl Sync for ManeuverSignElement
impl Unpin for ManeuverSignElement
impl UnwindSafe for ManeuverSignElement
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