pub struct PseudoWeatherEffectStateConnector { /* private fields */ }Expand description
EffectStateConnector implementation for a
pseudo-weather on the field.
Implementations§
Trait Implementations§
Source§impl Clone for PseudoWeatherEffectStateConnector
impl Clone for PseudoWeatherEffectStateConnector
Source§fn clone(&self) -> PseudoWeatherEffectStateConnector
fn clone(&self) -> PseudoWeatherEffectStateConnector
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 PseudoWeatherEffectStateConnector
impl EffectStateConnector for PseudoWeatherEffectStateConnector
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 PseudoWeatherEffectStateConnector
impl RefUnwindSafe for PseudoWeatherEffectStateConnector
impl Send for PseudoWeatherEffectStateConnector
impl Sync for PseudoWeatherEffectStateConnector
impl Unpin for PseudoWeatherEffectStateConnector
impl UnwindSafe for PseudoWeatherEffectStateConnector
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