[][src]Struct big_brain::Thinker

pub struct Thinker {
    pub name: String,
    pub picker: Box<dyn Picker>,
    pub default_action: Option<ActionEnt>,
    pub choices: Vec<Choice>,
    pub parent: Option<Entity>,
    pub current_action: Option<ActionEnt>,
}

Fields

name: Stringpicker: Box<dyn Picker>default_action: Option<ActionEnt>choices: Vec<Choice>parent: Option<Entity>current_action: Option<ActionEnt>

Trait Implementations

impl Component for Thinker[src]

type Storage = DenseVecStorage<Self>

Associated storage type for this component.

impl Debug for Thinker[src]

Auto Trait Implementations

impl !RefUnwindSafe for Thinker

impl Send for Thinker

impl Sync for Thinker

impl Unpin for Thinker

impl !UnwindSafe for Thinker

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<T> Event for T where
    T: Send + Sync + 'static, 

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

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

impl<T> Resource for T where
    T: Any + Send + Sync

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.