Struct cmudict::Rule
[−]
[src]
pub struct Rule { /* fields omitted */ }
Represents the complete pronunciation of a single word in the database
Methods
impl Rule
[src]
fn pronunciation(&self) -> &[Symbol]
[src]
Retuns a slice of the Symbols for the word
fn label(&self) -> &str
[src]
Returns the word
Trait Implementations
impl Clone for Rule
[src]
impl PartialEq<Rule> for Rule
[src]
impl FromStr for Rule
[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Rule, Error>
[src]
Parses a string s
to return a value of this type. Read more