pub struct Segment {
pub kind: SegmentKind,
pub length: f64,
}Expand description
One segment of a Dubins or Reeds-Shepp path.
Fields§
§kind: SegmentKindThe motion.
length: f64The signed length in units of the turning radius: the turned angle in radians for arcs. Negative lengths drive in reverse (Reeds-Shepp only).
Trait Implementations§
impl Copy for Segment
impl StructuralPartialEq for Segment
Auto Trait Implementations§
impl Forget for Segment
impl Freeze for Segment
impl Move for Segment
impl RefUnwindSafe for Segment
impl Send for Segment
impl Sync for Segment
impl Unpin for Segment
impl UnsafeUnpin for Segment
impl UnwindSafe for Segment
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