Trait Dispose
pub trait Dispose {
// Required method
fn dispose(self);
}
Expand description
Allows disposing an arena-allocated signal before its owner has been disposed.
Required Methodsยง
fn dispose(self)
fn dispose(self)
Disposes of the signal. This:
- Detaches the signal from the reactive graph, preventing it from triggering further updates; and
- Drops the value contained in the signal.