#![cfg_attr(not(test), no_std)]
#![deny(missing_docs)]
#![doc = include_str!("../README.md")]
mod tables;
#[cfg(feature = "non-authorative")]
pub mod non_authorative;
pub use tables::*;
#[cfg_attr(feature = "fixed-repr", repr(transparent))]
#[derive(Copy, Clone, Debug, Hash, PartialEq, Eq)]
pub struct SubclassId(u16);
impl SubclassId {
pub const fn from_id(x: u16) -> Self {
Self(x)
}
pub const fn id(self) -> u16 {
self.0
}
}
#[cfg_attr(feature = "fixed-repr", repr(transparent))]
#[derive(Copy, Clone, Debug, Hash, PartialEq, Eq)]
pub struct ProductId(u16);
impl ProductId {
pub const fn from_id(x: u16) -> Self {
Self(x)
}
pub const fn id(self) -> u16 {
self.0
}
}