pub struct DgRoute {
pub key: u64,
pub pts: Vec<[f32; 2]>,
pub marks: Vec<u32>,
pub bb: [f32; 4],
}Expand description
an edge’s route in world units: the polyline, the indices of its defining points (a, the waypoints, b) in it, its bounding box x0, y0, x1, y1 (empty pts: an end is unknown)
Fields§
§key: u64§pts: Vec<[f32; 2]>§marks: Vec<u32>§bb: [f32; 4]Trait Implementations§
Auto Trait Implementations§
impl Forget for DgRoute
impl Freeze for DgRoute
impl RefUnwindSafe for DgRoute
impl Send for DgRoute
impl Sync for DgRoute
impl Unpin for DgRoute
impl UnsafeUnpin for DgRoute
impl UnwindSafe for DgRoute
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