pub struct MonVolatileStatusEffectStateConnector { /* private fields */ }Expand description
EffectStateConnector implementation for a
volatile status on a Mon.
Implementations§
Trait Implementations§
Source§impl Clone for MonVolatileStatusEffectStateConnector
impl Clone for MonVolatileStatusEffectStateConnector
Source§fn clone(&self) -> MonVolatileStatusEffectStateConnector
fn clone(&self) -> MonVolatileStatusEffectStateConnector
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl EffectStateConnector for MonVolatileStatusEffectStateConnector
impl EffectStateConnector for MonVolatileStatusEffectStateConnector
Source§fn exists(&self, context: &mut Context<'_, '_>) -> Result<bool>
fn exists(&self, context: &mut Context<'_, '_>) -> Result<bool>
Checks if the underlying effect state exists.
Source§fn get_mut<'a>(
&self,
context: &'a mut Context<'_, '_>,
) -> Result<Option<&'a mut EffectState>>
fn get_mut<'a>( &self, context: &'a mut Context<'_, '_>, ) -> Result<Option<&'a mut EffectState>>
Gets a mutable reference to the effect state, for reading and assignment.
Source§fn applied_effect_location(&self) -> AppliedEffectLocation
fn applied_effect_location(&self) -> AppliedEffectLocation
The applied effect location.
Source§fn make_dynamic(&self) -> DynamicEffectStateConnector
fn make_dynamic(&self) -> DynamicEffectStateConnector
Clones the connection into a dynamic value.
Auto Trait Implementations§
impl Freeze for MonVolatileStatusEffectStateConnector
impl RefUnwindSafe for MonVolatileStatusEffectStateConnector
impl Send for MonVolatileStatusEffectStateConnector
impl Sync for MonVolatileStatusEffectStateConnector
impl Unpin for MonVolatileStatusEffectStateConnector
impl UnwindSafe for MonVolatileStatusEffectStateConnector
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<'a, 'b, T> UnsafelyDetachBorrow<'a, 'b, T> for T
impl<'a, 'b, T> UnsafelyDetachBorrow<'a, 'b, T> for T
Source§unsafe fn unsafely_detach_borrow(&'a self) -> &'b T
unsafe fn unsafely_detach_borrow(&'a self) -> &'b T
Unsafely detaches an immutable borrow, attaching a new lifetime. Read more
Source§impl<'a, 'b, T> UnsafelyDetachBorrowMut<'a, 'b, T> for T
impl<'a, 'b, T> UnsafelyDetachBorrowMut<'a, 'b, T> for T
Source§unsafe fn unsafely_detach_borrow_mut(&'a mut self) -> &'b mut T
unsafe fn unsafely_detach_borrow_mut(&'a mut self) -> &'b mut T
Unsafely detaches a mutable borrow, attaching a new lifetime. Read more