pub trait Config {
const INCLUDE_TS_FIELDS: bool;
const FIXES: bool;
fn new() -> Self;
}
pub struct ConfigTS;
impl Config for ConfigTS {
const INCLUDE_TS_FIELDS: bool = true;
const FIXES: bool = false;
#[inline(always)]
fn new() -> Self {
Self
}
}
pub struct ConfigJS;
impl Config for ConfigJS {
const INCLUDE_TS_FIELDS: bool = false;
const FIXES: bool = false;
#[inline(always)]
fn new() -> Self {
Self
}
}
pub struct ConfigFixesTS;
impl Config for ConfigFixesTS {
const INCLUDE_TS_FIELDS: bool = true;
const FIXES: bool = true;
#[inline(always)]
fn new() -> Self {
Self
}
}
pub struct ConfigFixesJS;
impl Config for ConfigFixesJS {
const INCLUDE_TS_FIELDS: bool = false;
const FIXES: bool = true;
#[inline(always)]
fn new() -> Self {
Self
}
}