#[derive(Clone, Copy, PartialEq)]
pub enum FlycatcherType {
Boolean,
Uint8,
Uint16,
Uint32,
Uint64,
Usize,
Int8,
Int16,
Int32,
Int64,
Size,
Float32,
Float64,
}
impl<'a> Into<&'a str> for FlycatcherType {
fn into(self) -> &'a str {
match self {
FlycatcherType::Boolean => "boolean",
FlycatcherType::Uint8 => "uint8",
FlycatcherType::Uint16 => "uint16",
FlycatcherType::Uint32 => "uint32",
FlycatcherType::Uint64 => "uint64",
FlycatcherType::Usize => "usize",
FlycatcherType::Int8 => "int8",
FlycatcherType::Int16 => "int16",
FlycatcherType::Int32 => "int32",
FlycatcherType::Int64 => "int64",
FlycatcherType::Size => "size",
FlycatcherType::Float32 => "float32",
FlycatcherType::Float64 => "float64",
}
}
}