|
|
@ -14,6 +14,7 @@ use once_cell::sync::OnceCell;
|
|
|
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
|
|
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
|
|
|
pub struct Filter(SmallMap<char, ()>);
|
|
|
|
pub struct Filter(SmallMap<char, ()>);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
impl<const N: usize> From<[char; N]> for Filter
|
|
|
|
impl<const N: usize> From<[char; N]> for Filter
|
|
|
|
{
|
|
|
|
{
|
|
|
|
fn from(from: [char; N]) -> Self
|
|
|
|
fn from(from: [char; N]) -> Self
|
|
|
@ -25,7 +26,7 @@ impl<const N: usize> From<[char; N]> for Filter
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Self(map)
|
|
|
|
Self(map)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}*/
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> From<&'a [char]> for Filter
|
|
|
|
impl<'a> From<&'a [char]> for Filter
|
|
|
|
{
|
|
|
|
{
|
|
|
|