ratflow 0.2.0

A minimalistic framework for building TUI applications using a reactive architecture.
Documentation
1
2
3
4
5
6
7
pub struct OnDrop<F: Fn()>(pub F);

impl<F: Fn()> Drop for OnDrop<F> {
    fn drop(&mut self) {
        (self.0)();
    }
}