[][src]Struct ascesis::FiringComponent

pub struct FiringComponent { /* fields omitted */ }

Methods

impl FiringComponent[src]

pub fn is_enabled(&self, state: &State) -> bool[src]

pub fn fire(&self, state: &mut State) -> Result<(), AcesError>[src]

Note: this routine doesn't check for enablement. Instead, it assumes that the firing component is enabled in the given state. Therefore, prior to a call to fire(), is_enabled() should return true (it may be called directly, or e.g. via FiringSet::get_enabled()).

Trait Implementations

impl Contextual for FiringComponent[src]

impl Debug for FiringComponent[src]

impl Default for FiringComponent[src]

impl TryFrom<Solution> for FiringComponent[src]

type Error = AcesError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> Contextual for T where
    T: ExclusivelyContextual
[src]

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

impl<Reference, Outer, OuterFieldType, Inner> HasPart<Nested<Outer, Inner>> for Reference where
    Inner: Part,
    Outer: Part<PartType = Field<OuterFieldType>>,
    OuterFieldType: HasPart<Inner, RawTarget = OuterFieldType> + PartialRefTarget + ?Sized,
    Reference: HasPart<Outer> + ?Sized

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<V, T> VZip<V> for T where
    V: MultiLane<T>,