/// Check if given text is a word over the alphabet.
Check if given text is a word over the alphabet.
Check if given text is a word over the alphabet .
pub fn is_word<C, T>(&self, text: T) -> bool
    where
        C: Borrow<u8>,
        T: IntoIterator<Item = C>,
    {
        text.into_iter()
            .all(|c| self.symbols.contains(*c.borrow() as usize))
    }
pub fn is_word < C , T > ( & self , text : T ) -> bool where C : Borrow < u8 > , T : IntoIterator < Item = C > , { text . into_iter ( ) . all ( | c | self . symbols . contains ( * c . borrow ( ) as usize ) ) }
Check if given text is a word over the alphabet.
Check if given text is a word over the alphabet .
&self
text
T