concordance 0.1.0

A library for negotiating HDMI 2.1 modes.
Documentation
1
2
3
4
5
6
7
8
9
10
//! The [`Diagnostic`] bound shared by all warning and violation types.

use core::fmt;

/// Bound required on all warning and violation types, built-in or custom.
///
/// Blanket-implemented for any type that is [`fmt::Display`] + [`fmt::Debug`].
pub trait Diagnostic: fmt::Display + fmt::Debug {}

impl<T: fmt::Display + fmt::Debug> Diagnostic for T {}