Struct druid::text::EnvUpdateCtx
source · pub struct EnvUpdateCtx<'a, 'b>(_);
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> !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>where 'b: 'a,
impl<'a, 'b> !UnwindSafe for EnvUpdateCtx<'a, 'b>
Blanket Implementations§
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> ⓘ
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.