pub struct Road {
pub start: (f32, f32),
pub end: (f32, f32),
pub width: f32,
pub is_main: bool,
}Expand description
A road segment.
Fields§
§start: (f32, f32)§end: (f32, f32)§width: f32§is_main: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Road
impl RefUnwindSafe for Road
impl Send for Road
impl Sync for Road
impl Unpin for Road
impl UnsafeUnpin for Road
impl UnwindSafe for Road
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