NcReader

Type Alias NcReader 

Source
pub type NcReader = ncreader;
Expand description

Provides a freeform input in a (possibly multiline) region

Supports optional readline keybindings (opt out using NCREADER_OPTION_NOCMDKEYS flag)

Takes ownership of its NcPlane, destroying it on any error (otherwise destroy destroys the plane).

type in C: ncreader (struct)

Aliased Type§

pub struct NcReader { /* private fields */ }

Implementations§

Source§

impl NcReader

§NcReader Constructors

Source

pub fn new<'a>(plane: &mut NcPlane) -> NcResult<&'a mut Self>

NcReader simple constructor.

Source

pub fn with_options<'a>( plane: &mut NcPlane, options: &NcReaderOptions, ) -> NcResult<&'a mut Self>

NcReader constructor with options.