pub enum Course {
Lap {
angle_radians: f64,
},
Hover {
heading_offset_radians: f64,
drift_pixels: [f64; 2],
},
}Expand description
Where the koi swims in a frame.
Variants§
Lap
Clockwise around the frame center. The head’s angle is measured clockwise on screen from the right; loops start with the head at the top.
Hover
In place, in the still pose turned by the heading offset and moved by the drift.
Trait Implementations§
impl Copy for Course
impl StructuralPartialEq for Course
Auto Trait Implementations§
impl Freeze for Course
impl RefUnwindSafe for Course
impl Send for Course
impl Sync for Course
impl Unpin for Course
impl UnsafeUnpin for Course
impl UnwindSafe for Course
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