#![cfg_attr(not(test), no_std)]
extern crate alloc;
pub mod ts103097;
pub mod ieee1609dot2;
#[macro_export]
macro_rules! delegate {
($from_type:ty, $to_type:ty) => {
impl From<$from_type> for $to_type {
fn from(item: $from_type) -> Self {
Self(item)
}
}
impl From<$to_type> for $from_type {
fn from(item: $to_type) -> Self {
item.0
}
}
impl core::ops::Deref for $to_type {
type Target = $from_type;
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl core::ops::DerefMut for $to_type {
fn deref_mut(&mut self) -> &mut Self::Target {
&mut self.0
}
}
};
}