Skip to main content

OutputEditingExt

Trait OutputEditingExt 

Source
pub trait OutputEditingExt<This>{
    // Required methods
    fn open_input(&mut self);
    fn submit_input(&mut self);
    fn open_output(&mut self);
    fn submit_output(&mut self);
}
Expand description

Derives output-name editing from an editable entry and a text draft.

Required Methods§

Source

fn open_input(&mut self)

Opens input editing only while the selected request still permits its input to change.

A request whose input was already read — extracted, described, named after — no longer permits it: changing the input then would make everything derived from it a lie.

Source

fn submit_input(&mut self)

Applies a non-empty input draft.

Source

fn open_output(&mut self)

Opens output-file-name editing only while the selected request is editable.

Source

fn submit_output(&mut self)

Applies a non-empty output draft, as the kind of name the request states it is.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<This> OutputEditingExt<This> for This

Derives output-name editing from an editable entry and a text draft.