pub struct Pager { /* private fields */ }
Expand description

The main pager state.

Implementations

Build a Pager using the system terminal.

Build a Pager using the system stdio.

Build a Pager using the specified terminal input and output.

Add a stream to be paged.

Attach an error stream to the previously added output stream.

Attach a file from disk.

Attach a controlled file.

Attach the output and error streams from a subprocess.

Returns the file index for each stream.

Set the progress stream.

Set when to use full screen mode. See InterfaceMode for details.

Set whether scrolling can past end of file.

Set how many lines to read ahead.

Set whether to poll input during start-up (delayed or direct mode).

Set whether to show the ruler by default.

Set default wrapping mode. See WrappingMode for details.

Set keymap name.

Set keymap.

Create an action sender which can be used to send Actions to this pager.

Run Stream Pager.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.