Skip to main content

TransformCallback

Type Alias TransformCallback 

Source
pub type TransformCallback = Rc<dyn Fn(f64) -> Matrix4>;
Expand description

Signature for the callback to MatrixTransition::on_transform.

Computes a Matrix4 to be used in the MatrixTransition transformed widget from the MatrixTransition::animation value.

Aliased Typeยง

pub struct TransformCallback { /* private fields */ }