Skip to main content

IMutableTransform

Trait IMutableTransform 

Source
pub trait IMutableTransform: ITransform {
    // Required method
    fn changed(&self, handler: Rc<dyn Fn()>) -> Rc<dyn IDisposable>;
}
Expand description

A transform whose value can change.

Required Methods§

Source

fn changed(&self, handler: Rc<dyn Fn()>) -> Rc<dyn IDisposable>

Subscribes to changes of the transform. Disposing the returned handle unsubscribes.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§