pub enum Behavior {
DeepRest,
Rest,
SurfaceFeeding,
Dart,
Cruise,
}Expand description
One movement per run.
Variants§
DeepRest
Sits low in the water, blue-tinted, barely moving.
Rest
Hovers in place a little deeper, with a slow beat and glide.
SurfaceFeeding
Hovers at the surface and gulps.
Dart
Two fast laps of strong bursts and glides.
Cruise
One slow lap; the everyday swim.
Trait Implementations§
impl Copy for Behavior
impl Eq for Behavior
impl StructuralPartialEq for Behavior
Auto Trait Implementations§
impl Freeze for Behavior
impl RefUnwindSafe for Behavior
impl Send for Behavior
impl Sync for Behavior
impl Unpin for Behavior
impl UnsafeUnpin for Behavior
impl UnwindSafe for Behavior
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