pub enum DubinsWord {
Lsl,
Rsr,
Rsl,
Lsr,
Rlr,
Lrl,
}Expand description
The six Dubins words: L and R are arcs of the turning radius, S is a straight line.
Variants§
Lsl
Left, straight, left.
Rsr
Right, straight, right.
Rsl
Right, straight, left.
Lsr
Left, straight, right.
Rlr
Right, left, right.
Lrl
Left, right, left.
Implementations§
Source§impl DubinsWord
impl DubinsWord
Sourcepub const ALL: [Self; 6]
pub const ALL: [Self; 6]
All words, in the order Dubins::candidates reports them.
Sourcepub const fn kinds(self) -> [SegmentKind; 3]
pub const fn kinds(self) -> [SegmentKind; 3]
The segment motions of this word.
Trait Implementations§
Source§impl Clone for DubinsWord
impl Clone for DubinsWord
impl Copy for DubinsWord
Source§impl Debug for DubinsWord
impl Debug for DubinsWord
impl Eq for DubinsWord
Source§impl Hash for DubinsWord
impl Hash for DubinsWord
Source§impl PartialEq for DubinsWord
impl PartialEq for DubinsWord
impl StructuralPartialEq for DubinsWord
Auto Trait Implementations§
impl Forget for DubinsWord
impl Freeze for DubinsWord
impl Move for DubinsWord
impl RefUnwindSafe for DubinsWord
impl Send for DubinsWord
impl Sync for DubinsWord
impl Unpin for DubinsWord
impl UnsafeUnpin for DubinsWord
impl UnwindSafe for DubinsWord
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