[−][src]Enum asi_core0::Action
Represents an action that the agent takes.
Variants
Terminate the runtime.
Wait(f64)
Wait a number of seconds.
Send an output signal to actuator from memory slot.
Fields of Output
actuator: ActuatorId
The actuator to write output to.
memory: MemoryId
The memory slot to write output from.
Read an input signal from sensor and stores it memory slot.
Fields of Input
Allocate new memory states. Creates N number of new states.
Fields of Alloc
slots: usize
The number of slots to be allocated.
Free memory state (index). This will insert a default memory state in the middle and shrink memory at the end.
Fields of Free
memory: MemoryId
The memory slot to be freed.
Swap two memory states, likely in order to free memory at the end.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,