Docs.rs
repose-core-0.31.21
repose-core 0.31.21
Docs.rs crate page
MPL-2.0
12 October 2026
Links
Repository
crates.io
Source
Owners
mlm-games
Dependencies
accesskit ^0.25
normal
optional
log ^0.4
normal
parking_lot ^0.12
normal
repose-macros ^0.31.21
normal
rustc-hash ^2.1
normal
serde ^1
normal
optional
taffy ^0.14
normal
web-time ^1
normal
Versions
36.08%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module effects
repose_
core
0.31.21
Module effects
Module Items
Structs
Functions
In crate repose_
core
repose_core
Module
effects
Copy item path
Source
Structs
§
Dispose
Functions
§
effect
Runs
f()
immediately and returns its
Dispose
, registering cleanup on the current scope when one exists. Like
scoped_effect
, this runs on every call - for mount-once semantics use
scoped_effect_once
or
disposable_effect
.
effect_
once
Mount-once effect: runs
f
only the first time this call site composes. Later recompositions return the original
Dispose
without re-running setup.
effect_
once_
with_
key
on_
unmount
Helper to register cleanup inside effect.