pub struct EnvUpdateCtx<'a, 'b>(/* private fields */);Expand description
Provides information about keys change for more fine grained invalidation
Implementations§
Source§impl<'a, 'b> EnvUpdateCtx<'a, 'b>
impl<'a, 'b> EnvUpdateCtx<'a, 'b>
Sourcepub fn env_key_changed<T>(&self, key: &impl KeyLike<T>) -> bool
pub fn env_key_changed<T>(&self, key: &impl KeyLike<T>) -> bool
Returns true if the given key has changed since the last env_update
call.
See UpdateCtx::env_key_changed for more details.
Auto Trait Implementations§
impl<'a, 'b> Freeze for EnvUpdateCtx<'a, 'b>
impl<'a, 'b> !RefUnwindSafe for EnvUpdateCtx<'a, 'b>
impl<'a, 'b> !Send for EnvUpdateCtx<'a, 'b>
impl<'a, 'b> !Sync for EnvUpdateCtx<'a, 'b>
impl<'a, 'b> Unpin for EnvUpdateCtx<'a, 'b>
impl<'a, 'b> !UnwindSafe for EnvUpdateCtx<'a, 'b>
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.