pub struct Crossing {
pub kind: CrossingType,
pub dist: Distance,
}
Fields§
§kind: CrossingType
§dist: Distance
Trait Implementations§
source§impl<'de> Deserialize<'de> for Crossing
impl<'de> Deserialize<'de> for Crossing
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 Crossing
impl PartialEq for Crossing
impl StructuralPartialEq for Crossing
Auto Trait Implementations§
impl Freeze for Crossing
impl RefUnwindSafe for Crossing
impl Send for Crossing
impl Sync for Crossing
impl Unpin for Crossing
impl UnwindSafe for Crossing
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