use super::*;
#[cfg(feature = "ean")]
#[derive(Debug, Clone, Copy)]
pub struct Ean2;
#[cfg(feature = "ean")]
#[derive(Debug, Clone, Copy)]
pub struct Ean5;
#[cfg(feature = "ean")]
#[derive(Debug, Clone, Copy)]
pub struct Ean8;
#[cfg(feature = "ean")]
#[derive(Debug, Clone, Copy)]
pub struct Upce;
#[cfg(feature = "ean")]
#[derive(Debug, Clone, Copy)]
pub struct Isbn10;
#[cfg(feature = "ean")]
#[derive(Debug, Clone, Copy)]
pub struct Upca;
#[cfg(feature = "ean")]
#[derive(Debug, Clone, Copy)]
pub struct Ean13;
#[cfg(feature = "ean")]
#[derive(Debug, Clone, Copy)]
pub struct Isbn13;
#[cfg(feature = "ean")]
#[derive(Debug, Clone, Copy)]
pub struct Composite;
#[cfg(feature = "i25")]
#[derive(Debug, Clone, Copy)]
pub struct I25;
#[cfg(feature = "databar")]
#[derive(Debug, Clone, Copy)]
pub struct Databar;
#[cfg(feature = "databar")]
#[derive(Debug, Clone, Copy)]
pub struct DatabarExp;
#[cfg(feature = "codabar")]
#[derive(Debug, Clone, Copy)]
pub struct Codabar;
#[cfg(feature = "code39")]
#[derive(Debug, Clone, Copy)]
pub struct Code39;
#[cfg(feature = "qrcode")]
#[derive(Debug, Clone, Copy)]
pub struct QrCode;
#[cfg(feature = "sqcode")]
#[derive(Debug, Clone, Copy)]
pub struct SqCode;
#[cfg(feature = "code93")]
#[derive(Debug, Clone, Copy)]
pub struct Code93;
#[cfg(feature = "code128")]
#[derive(Debug, Clone, Copy)]
pub struct Code128;
#[cfg(feature = "ean")]
impl Symbology for Ean2 {
const TYPE: SymbolType = SymbolType::Ean2;
const NAME: &'static str = "EAN-2";
}
#[cfg(feature = "ean")]
impl Symbology for Ean5 {
const TYPE: SymbolType = SymbolType::Ean5;
const NAME: &'static str = "EAN-5";
}
#[cfg(feature = "ean")]
impl Symbology for Ean8 {
const TYPE: SymbolType = SymbolType::Ean8;
const NAME: &'static str = "EAN-8";
}
#[cfg(feature = "ean")]
impl Symbology for Upce {
const TYPE: SymbolType = SymbolType::Upce;
const NAME: &'static str = "UPC-E";
}
#[cfg(feature = "ean")]
impl Symbology for Isbn10 {
const TYPE: SymbolType = SymbolType::Isbn10;
const NAME: &'static str = "ISBN-10";
}
#[cfg(feature = "ean")]
impl Symbology for Upca {
const TYPE: SymbolType = SymbolType::Upca;
const NAME: &'static str = "UPC-A";
}
#[cfg(feature = "ean")]
impl Symbology for Ean13 {
const TYPE: SymbolType = SymbolType::Ean13;
const NAME: &'static str = "EAN-13";
}
#[cfg(feature = "ean")]
impl Symbology for Isbn13 {
const TYPE: SymbolType = SymbolType::Isbn13;
const NAME: &'static str = "ISBN-13";
}
#[cfg(feature = "ean")]
impl Symbology for Composite {
const TYPE: SymbolType = SymbolType::Composite;
const NAME: &'static str = "Composite";
}
#[cfg(feature = "i25")]
impl Symbology for I25 {
const TYPE: SymbolType = SymbolType::I25;
const NAME: &'static str = "Interleaved 2 of 5";
}
#[cfg(feature = "databar")]
impl Symbology for Databar {
const TYPE: SymbolType = SymbolType::Databar;
const NAME: &'static str = "DataBar";
}
#[cfg(feature = "databar")]
impl Symbology for DatabarExp {
const TYPE: SymbolType = SymbolType::DatabarExp;
const NAME: &'static str = "DataBar Expanded";
}
#[cfg(feature = "codabar")]
impl Symbology for Codabar {
const TYPE: SymbolType = SymbolType::Codabar;
const NAME: &'static str = "Codabar";
}
#[cfg(feature = "code39")]
impl Symbology for Code39 {
const TYPE: SymbolType = SymbolType::Code39;
const NAME: &'static str = "Code 39";
}
#[cfg(feature = "qrcode")]
impl Symbology for QrCode {
const TYPE: SymbolType = SymbolType::QrCode;
const NAME: &'static str = "QR Code";
}
#[cfg(feature = "sqcode")]
impl Symbology for SqCode {
const TYPE: SymbolType = SymbolType::SqCode;
const NAME: &'static str = "SQ Code";
}
#[cfg(feature = "code93")]
impl Symbology for Code93 {
const TYPE: SymbolType = SymbolType::Code93;
const NAME: &'static str = "Code 93";
}
#[cfg(feature = "code128")]
impl Symbology for Code128 {
const TYPE: SymbolType = SymbolType::Code128;
const NAME: &'static str = "Code 128";
}
#[cfg(feature = "ean")]
impl SupportsEnable for Ean2 {}
#[cfg(feature = "ean")]
impl SupportsEnable for Ean5 {}
#[cfg(feature = "ean")]
impl SupportsEnable for Ean8 {}
#[cfg(feature = "ean")]
impl SupportsEnable for Upce {}
#[cfg(feature = "ean")]
impl SupportsEnable for Isbn10 {}
#[cfg(feature = "ean")]
impl SupportsEnable for Upca {}
#[cfg(feature = "ean")]
impl SupportsEnable for Ean13 {}
#[cfg(feature = "ean")]
impl SupportsEnable for Isbn13 {}
#[cfg(feature = "i25")]
impl SupportsEnable for I25 {}
#[cfg(feature = "databar")]
impl SupportsEnable for Databar {}
#[cfg(feature = "databar")]
impl SupportsEnable for DatabarExp {}
#[cfg(feature = "codabar")]
impl SupportsEnable for Codabar {}
#[cfg(feature = "code39")]
impl SupportsEnable for Code39 {}
#[cfg(feature = "qrcode")]
impl SupportsEnable for QrCode {}
#[cfg(feature = "sqcode")]
impl SupportsEnable for SqCode {}
#[cfg(feature = "code93")]
impl SupportsEnable for Code93 {}
#[cfg(feature = "code128")]
impl SupportsEnable for Code128 {}
#[cfg(feature = "ean")]
impl SupportsChecksum for Ean2 {}
#[cfg(feature = "ean")]
impl SupportsChecksum for Ean5 {}
#[cfg(feature = "ean")]
impl SupportsChecksum for Ean8 {}
#[cfg(feature = "ean")]
impl SupportsChecksum for Upce {}
#[cfg(feature = "ean")]
impl SupportsChecksum for Isbn10 {}
#[cfg(feature = "ean")]
impl SupportsChecksum for Upca {}
#[cfg(feature = "ean")]
impl SupportsChecksum for Ean13 {}
#[cfg(feature = "ean")]
impl SupportsChecksum for Isbn13 {}
#[cfg(feature = "databar")]
impl SupportsChecksum for Databar {}
#[cfg(feature = "databar")]
impl SupportsChecksum for DatabarExp {}
#[cfg(feature = "codabar")]
impl SupportsChecksum for Codabar {}
#[cfg(feature = "code39")]
impl SupportsChecksum for Code39 {}
#[cfg(feature = "code93")]
impl SupportsChecksum for Code93 {}
#[cfg(feature = "code128")]
impl SupportsChecksum for Code128 {}
#[cfg(feature = "i25")]
impl SupportsLengthLimits for I25 {}
#[cfg(feature = "codabar")]
impl SupportsLengthLimits for Codabar {}
#[cfg(feature = "code39")]
impl SupportsLengthLimits for Code39 {}
#[cfg(feature = "code93")]
impl SupportsLengthLimits for Code93 {}
#[cfg(feature = "code128")]
impl SupportsLengthLimits for Code128 {}
#[cfg(feature = "i25")]
impl SupportsUncertainty for I25 {}
#[cfg(feature = "databar")]
impl SupportsUncertainty for Databar {}
#[cfg(feature = "databar")]
impl SupportsUncertainty for DatabarExp {}
#[cfg(feature = "codabar")]
impl SupportsUncertainty for Codabar {}
#[cfg(feature = "code39")]
impl SupportsUncertainty for Code39 {}
#[cfg(feature = "qrcode")]
impl SupportsUncertainty for QrCode {}
#[cfg(feature = "sqcode")]
impl SupportsUncertainty for SqCode {}
#[cfg(feature = "code93")]
impl SupportsUncertainty for Code93 {}
#[cfg(feature = "code128")]
impl SupportsUncertainty for Code128 {}
#[cfg(feature = "ean")]
impl SupportsUncertainty for Composite {}