Struct redo::Display [−][src]
pub struct Display<'a, T: 'a> { /* fields omitted */ }
Configurable display formatting of structures.
Methods
impl<'a, T: 'a> Display<'a, T>
[src]
impl<'a, T: 'a> Display<'a, T>
pub fn colored(&mut self, on: bool) -> &mut Self
[src]
pub fn colored(&mut self, on: bool) -> &mut Self
Show colored output (off by default).
pub fn detailed(&mut self, on: bool) -> &mut Self
[src]
pub fn detailed(&mut self, on: bool) -> &mut Self
Show detailed output (on by default).
pub fn position(&mut self, on: bool) -> &mut Self
[src]
pub fn position(&mut self, on: bool) -> &mut Self
Show the position of the command (on by default).
pub fn saved(&mut self, on: bool) -> &mut Self
[src]
pub fn saved(&mut self, on: bool) -> &mut Self
Show the saved command (on by default).
impl<'a, R, C: Command<R>> Display<'a, History<R, C>>
[src]
impl<'a, R, C: Command<R>> Display<'a, History<R, C>>
Trait Implementations
impl<'a, T: Copy + 'a> Copy for Display<'a, T>
[src]
impl<'a, T: Copy + 'a> Copy for Display<'a, T>
impl<'a, T: Clone + 'a> Clone for Display<'a, T>
[src]
impl<'a, T: Clone + 'a> Clone for Display<'a, T>
fn clone(&self) -> Display<'a, T>
[src]
fn clone(&self) -> Display<'a, T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a, T: Debug + 'a> Debug for Display<'a, T>
[src]
impl<'a, T: Debug + 'a> Debug for Display<'a, T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a, T: 'a> From<&'a T> for Display<'a, T>
[src]
impl<'a, T: 'a> From<&'a T> for Display<'a, T>
impl<'a, R, C: Command<R> + Display> Display for Display<'a, Record<R, C>>
[src]
impl<'a, R, C: Command<R> + Display> Display for Display<'a, Record<R, C>>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a, R, C: Command<R> + Display> Display for Display<'a, History<R, C>>
[src]
impl<'a, R, C: Command<R> + Display> Display for Display<'a, History<R, C>>