pub struct Depot {
pub x: f64,
pub y: f64,
pub ready_time: i64,
pub due_time: i64,
}Expand description
The depot — vehicle starts and ends here.
Fields§
§x: f64§y: f64§ready_time: i64§due_time: i64Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Depot
impl<'de> Deserialize<'de> for Depot
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 Depot
impl RefUnwindSafe for Depot
impl Send for Depot
impl Sync for Depot
impl Unpin for Depot
impl UnsafeUnpin for Depot
impl UnwindSafe for Depot
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