Skip to main content

SelectionChangedCallback

Type Alias SelectionChangedCallback 

Source
pub type SelectionChangedCallback = Rc<dyn Fn(&mut App, TextSelection, Option<SelectionChangedCause>)>;
Expand description

Signature for the callback that reports when the user changes the selection (including the cursor location).

Aliased Typeยง

pub struct SelectionChangedCallback { /* private fields */ }