Skip to main content

preview

Function preview 

Source
pub fn preview(
    encoding: Encoding,
    lifted: Lifted<'_>,
    viewport: Span,
) -> Result<Preview, AxError>
Expand description

The preview of the window viewport asks for, cut from bytes lift named.

ยงErrors

The cut refusals: lifted bytes that do not hold the window, or that are not text in encoding.