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