fn new(
        dialog: &'dialog mut InputDialog<F>,
        cursor: usize,
        selected: InputDialogItem,
        has_cancel: bool,
    ) -> Self {
        Self {
            buffer: dialog.buffer.chars().collect(),
            cursor,
            selected,
            has_cancel,
            actual_max: 0,
            dialog,
        }
    }
/// Generic initialization. Should not be called directly, but through
/// helpers.
Generic initialization. Should not be called directly, but through
helpers.
Generic initialization . Should not be called directly but through helpers .
fn new(
        dialog: &'dialog mut InputDialog<F>,
        cursor: usize,
        selected: InputDialogItem,
        has_cancel: bool,
    ) -> Self {
        Self {
            buffer: dialog.buffer.chars().collect(),
            cursor,
            selected,
            has_cancel,
            actual_max: 0,
            dialog,
        }
    }
fn new ( dialog : & ' dialog mut InputDialog < F > , cursor : usize , selected : InputDialogItem , has_cancel : bool , ) -> Self { Self { buffer : dialog . buffer . chars ( ) . collect ( ) , cursor , selected , has_cancel , actual_max : 0 , dialog , } }
Generic initialization.
Generic initialization .
dialog
&'dialog mut InputDialog<F>
cursor
usize
selected
InputDialogItem
has_cancel
bool
dialog
&'dialog mut InputDialog<F>
cursor
usize
selected
InputDialogItem
has_cancel
bool