fn drop(&mut self) {
    // We will assume that the initialization code is correctly never
    // initializing curses twice, and thus we will assume that it's safe to
    // call endwin and then store that curses is off once that's done. If we
    // were paranoid we'd do another compare_and_swap, but that's slower for
    // no reason (again, assuming that the initialization code is correct).
    pancurses::endwin();
    curses_is_on.store(false, Ordering::SeqCst);
  }
/// Dropping EasyCurses causes the
/// [endwin](http://pubs.opengroup.org/onlinepubs/7908799/xcurses/endwin.html)
/// curses function to be called.
Dropping EasyCurses causes the
[endwin]
curses function to be called.
Dropping EasyCurses causes the [ endwin ] curses function to be called .
fn drop(&mut self) {
    // We will assume that the initialization code is correctly never
    // initializing curses twice, and thus we will assume that it's safe to
    // call endwin and then store that curses is off once that's done. If we
    // were paranoid we'd do another compare_and_swap, but that's slower for
    // no reason (again, assuming that the initialization code is correct).
    pancurses::endwin();
    curses_is_on.store(false, Ordering::SeqCst);
  }
fn drop ( & mut self ) { // We will assume that the initialization code is correctly never // initializing curses twice, and thus we will assume that it's safe to // call endwin and then store that curses is off once that's done. If we // were paranoid we'd do another compare_and_swap, but that's slower for // no reason (again, assuming that the initialization code is correct). pancurses :: endwin ( ) ; curses_is_on . store ( false , Ordering :: SeqCst ) ; }
Dropping EasyCurses causes the
[endwin](http://pubs.opengroup.org/onlinepubs/7908799/xcurses/endwin.html)
curses function to be called.
Dropping EasyCurses causes the [ endwin ] ( http : // pubs . opengroup . org / onlinepubs / 7908799 / xcurses / endwin . html ) curses function to be called .
&mut self
&mut self