Skip to main content

OnResize

Type Alias OnResize 

Source
pub type OnResize = Rc<dyn Fn(usize, Pixels, &mut Window, &mut App)>;
Expand description

Handed a resizable painted block’s index and where its grip was pressed — see FenceHost::resize.

Aliased Type§

pub struct OnResize { /* private fields */ }