[−][src]Struct game_features::EffectorInstance
Fields
effector_key: E
active_since: f64
disable_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]
fn clone(&self) -> EffectorInstance<E>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<E: Debug> Debug for EffectorInstance<E>
[src]
impl<'de, E> Deserialize<'de> for EffectorInstance<E> where
E: Deserialize<'de>,
[src]
E: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<E> Serialize for EffectorInstance<E> where
E: Serialize,
[src]
E: Serialize,
Auto Trait Implementations
impl<E> RefUnwindSafe for EffectorInstance<E> where
E: RefUnwindSafe,
E: RefUnwindSafe,
impl<E> Send for EffectorInstance<E> where
E: Send,
E: Send,
impl<E> Sync for EffectorInstance<E> where
E: Sync,
E: Sync,
impl<E> Unpin for EffectorInstance<E> where
E: Unpin,
E: Unpin,
impl<E> UnwindSafe for EffectorInstance<E> where
E: UnwindSafe,
E: UnwindSafe,
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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.
fn to_owned(&self) -> T
[src]
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.
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>,