Trait Displayable

Source
pub trait Displayable: Debug + Display { }
Expand description

Displayable simply combines the two major traits core::fmt::Debug and core::fmt::Display into a single trait. This is useful for types that need to be displayed in a human-readable format, such as in debugging or logging.

Note: This trait is sealed, meaning it cannot be implemented outside of this crate, however, it is automatically implemented for any type that implements both core::fmt::Debug & core::fmt::Display.

Implementors§

Source§

impl<T> Displayable for T
where T: Debug + Display,