pub struct RoutingLaw {
pub road_aversion: f64,
}Fields§
§road_aversion: f64Implementations§
Trait Implementations§
Source§impl Clone for RoutingLaw
impl Clone for RoutingLaw
Source§fn clone(&self) -> RoutingLaw
fn clone(&self) -> RoutingLaw
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 RoutingLaw
Source§impl Debug for RoutingLaw
impl Debug for RoutingLaw
Source§impl Default for RoutingLaw
impl Default for RoutingLaw
Source§impl<'de> Deserialize<'de> for RoutingLaw
impl<'de> Deserialize<'de> for RoutingLaw
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
Source§impl PartialEq for RoutingLaw
impl PartialEq for RoutingLaw
Source§impl Serialize for RoutingLaw
impl Serialize for RoutingLaw
impl StructuralPartialEq for RoutingLaw
Auto Trait Implementations§
impl Freeze for RoutingLaw
impl RefUnwindSafe for RoutingLaw
impl Send for RoutingLaw
impl Sync for RoutingLaw
impl Unpin for RoutingLaw
impl UnsafeUnpin for RoutingLaw
impl UnwindSafe for RoutingLaw
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