Struct game_features::EffectorInstance [−][src]
Expand description
An active instance of an effector.
Fields
effector_key: E
Expand description
The key of the effector.
disable_in: Option<f64>
Expand description
The time before this effector expires.
Implementations
impl<E> EffectorInstance<E>
[src]
impl<E> EffectorInstance<E>
[src]Trait Implementations
impl<E: Clone> Clone for EffectorInstance<E>
[src]
impl<E: Clone> Clone for EffectorInstance<E>
[src]fn clone(&self) -> EffectorInstance<E>
[src]
fn clone(&self) -> EffectorInstance<E>
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<E: Debug> Debug 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<'de, E> Deserialize<'de> for EffectorInstance<E> where
E: Deserialize<'de>,
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
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> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,