[−][src]Enum dwfv::tui::instr::TuiInstr
TUI Instruction
Variants
Signal(String)
Tell the TUI to display a signal.
Search(String)
Tell the TUI to display the result of a search expression.
Tell the TUI to display an error message.
Implementations
impl TuiInstr
[src]
pub fn height(&self) -> usize
[src]
pub fn total_height(instrs: &[TuiInstr]) -> usize
[src]
pub fn parse<I: BufRead>(input: I) -> Vec<TuiInstr>
[src]
pub fn format_instrs<O: Write>(instrs: &[TuiInstr], output: &mut O)
[src]
Trait Implementations
impl Clone for TuiInstr
[src]
impl Display for TuiInstr
[src]
impl PartialEq<TuiInstr> for TuiInstr
[src]
Auto Trait Implementations
impl RefUnwindSafe for TuiInstr
impl Send for TuiInstr
impl Sync for TuiInstr
impl Unpin for TuiInstr
impl UnwindSafe for TuiInstr
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,