Skip to main content

Displayable

Trait Displayable 

Source
pub trait Displayable {
    type Displayable: Display;

    // Required method
    fn displayable(self) -> Self::Displayable;
}
Expand description

Extension trait for converting a type into a displayable form.

Required Associated Types§

Source

type Displayable: Display

The displayable form of the type.

Required Methods§

Source

fn displayable(self) -> Self::Displayable

Converts the type into its displayable form.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl Displayable for BTreeMap<Id, Id>

Source§

type Displayable = DisplayablePolicy

Source§

fn displayable(self) -> Self::Displayable

Source§

impl Displayable for BTreeMap<Id, u16>

Source§

type Displayable = DisplayableConfiguration

Source§

fn displayable(self) -> Self::Displayable

Implementors§