[][src]Struct game_features::EffectorInstance

pub struct EffectorInstance<E> {
    pub effector_key: E,
    pub active_since: f64,
    pub disable_in: Option<f64>,
}

Fields

effector_key: Eactive_since: f64disable_in: Option<f64>

Implementations

impl<E> EffectorInstance<E>[src]

pub fn new(effector_key: E, active_since: f64, disable_in: Option<f64>) -> Self[src]

Constructs a new EffectorInstance.

Trait Implementations

impl<E: Clone> Clone for EffectorInstance<E>[src]

impl<E: Debug> Debug for EffectorInstance<E>[src]

impl<'de, E> Deserialize<'de> for EffectorInstance<E> where
    E: Deserialize<'de>, 
[src]

impl<E> Serialize for EffectorInstance<E> where
    E: Serialize
[src]

Auto Trait Implementations

impl<E> RefUnwindSafe for EffectorInstance<E> where
    E: RefUnwindSafe

impl<E> Send for EffectorInstance<E> where
    E: Send

impl<E> Sync for EffectorInstance<E> where
    E: Sync

impl<E> Unpin for EffectorInstance<E> where
    E: Unpin

impl<E> UnwindSafe for EffectorInstance<E> where
    E: UnwindSafe

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.