[][src]Type Definition rubrail::SwipeCb

type SwipeCb = Box<dyn Fn(&ItemId, SwipeState, f64)>;

A callback that is called when an item is swiped

SwipeCb is expected to be a Boxed closure, and it receives the ItemId of an item as it is being swiped if a swipe gesture recognizer has been added to the item.

Arguments