[][src]Enum swarm_it::State

pub enum State {
    IDLE,
    TARGETING(usize),
    MOVING(usize),
    PICKINGUP(usize),
    LOOKINGFORTARGET,
    NOTARGET,
    DELIVERING(usize),
    PUTTINGDOWN(usize),
    _DEBUG_,
}

States that apply to Carriers

StateMeaning
IDLENot doing anything, except for looking for a new task
TARGETINGRotating to face the current target
MOVINGMoving to target
PICKINGUPPicking up the paylaod
LOOKINGFORTARGETLooking for target for the payload
NOTARGETHas payload that currently won't fit anywhere. Will be temporarily dropped in the closest slot
DELIVERINGMoving payload to the target
PUTTINGDOWNPutting down the payload

Variants

IDLETARGETING(usize)MOVING(usize)PICKINGUP(usize)LOOKINGFORTARGETNOTARGETDELIVERING(usize)PUTTINGDOWN(usize)_DEBUG_

Trait Implementations

impl Clone for State[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<State> for State[src]

impl Copy for State[src]

impl Debug for State[src]

Auto Trait Implementations

impl Sync for State

impl Send for State

impl Unpin for State

impl RefUnwindSafe for State

impl UnwindSafe for State

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,