subscribe_invalidated
function · ferroui-base · v0.5.0
fn subscribe_invalidated(value: &dyn Any, handler: std::rc::Rc<dyn Fn() -> ()>) -> Option<std::rc::Rc<dyn IDisposable>>
Subscribes handler to the invalidation of a property value, when the
value is a media object that can change
(affects_render_source says which values are). Returns None when
the value is of another type, is absent or is immutable.
It lets a visual subscribe uniformly to whatever its render-affecting properties hold.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.