ezsp 7.3.1

Ember ZNet Serial Protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Extension traits for various types.
//!
//!
use std::fmt::Display;

pub use self::configuration_ext::ConfigurationExt;
pub use self::policy_ext::PolicyExt;
mod configuration_ext;
mod policy_ext;

/// Extension trait for converting a type into a displayable form.
pub trait Displayable {
    /// The displayable form of the type.
    type Displayable: Display;

    /// Converts the type into its displayable form.
    fn displayable(self) -> Self::Displayable;
}