pub fn recognizes(mut self, description: &str) -> Self {
        if !self.dfa.recognizes.is_empty() {
            panic!("DFABuilder::recognizes(): The language that a DFA recognizes may be defined only once.");
        }
        self.dfa.recognizes = description.to_owned();
        self
    }
/// Adds a description of the language that this [DFA](struct.DFA.html) will recognize.
Adds a description of the language that this [DFA](struct.DFA.html) will recognize.
Adds a description of the language that this [ DFA ] ( struct . DFA . html ) will recognize .
pub fn recognizes(mut self, description: &str) -> Self {
        if !self.dfa.recognizes.is_empty() {
            panic!("DFABuilder::recognizes(): The language that a DFA recognizes may be defined only once.");
        }
        self.dfa.recognizes = description.to_owned();
        self
    }
pub fn recognizes ( mut self , description : & str ) -> Self { if ! self . dfa . recognizes . is_empty ( ) { panic ! ( " " ) ; } self . dfa . recognizes = description . to_owned ( ) ; self }
Adds a description of the language that this [DFA](struct.DFA.html) will recognize.
Adds a description of the language that this [ DFA ] ( struct . DFA . html ) will recognize .
mut self
description
&str
mut self
description
&str