Trait indigo::fmt::Describe[][src]

pub trait Describe: Sized {
    fn fmt(&self, f: &mut Formatter<'_>) -> Result;

    fn describe(&self) -> String { ... }
}

A trait similar to Display that instead writes a description of the value.

The output is intended for use in human-readable error messages.

Required methods

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Writes a description of the value to a given formatter.

Loading content...

Provided methods

fn describe(&self) -> String[src]

Returns a description of this value.

The description is intended for use in human-readable error messages.

Loading content...

Implementations on Foreign Types

impl<T: Describe> Describe for &T[src]

impl Describe for char[src]

impl Describe for Vec<Adapter<Backend>>[src]

impl Describe for Vec<Queue>[src]

impl Describe for MemoryProperties[src]

Loading content...

Implementors

impl Describe for AsPath<'_>[src]

impl<T: Describe> Describe for Surrounded<'_, T>[src]

Loading content...