[][src]Struct minutiae::entity::Entity

pub struct Entity<C: CellState, S: EntityState<C>, M: MutEntityState> {
    pub state: S,
    pub mut_state: M,
    pub uuid: Uuid,
    // some fields omitted
}

Fields

state: Smut_state: Muuid: Uuid

Methods

impl<C: CellState, E: EntityState<C>, M: MutEntityState> Entity<C, E, M>[src]

pub fn new(state: E, mut_state: M) -> Entity<C, E, M>[src]

Trait Implementations

impl<C: CellState, E: EntityState<C>, M: MutEntityState> Send for Entity<C, E, M> where
    C: Send,
    E: Send
[src]

impl<C: CellState, E: EntityState<C>, M: MutEntityState> Clone for Entity<C, E, M> where
    E: Clone,
    M: Clone
[src]

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

Performs copy-assignment from source. Read more

impl<C: CellState, E: EntityState<C>, M: MutEntityState> Debug for Entity<C, E, M> where
    E: Debug
[src]

Auto Trait Implementations

impl<C, S, M> Unpin for Entity<C, S, M> where
    C: Unpin,
    M: Unpin,
    S: Unpin

impl<C, S, M> Sync for Entity<C, S, M> where
    C: Sync,
    M: Sync,
    S: Sync

impl<C, S, M> UnwindSafe for Entity<C, S, M> where
    C: UnwindSafe,
    M: UnwindSafe,
    S: UnwindSafe

impl<C, S, M> RefUnwindSafe for Entity<C, S, M> where
    C: RefUnwindSafe,
    M: RefUnwindSafe,
    S: RefUnwindSafe

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<T> SetParameter for T[src]

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 
[src]

Sets value as a parameter of self.