Struct cmudict_core::Rule
[−]
[src]
pub struct Rule { /* fields omitted */ }
Represents the complete pronunciation of a single word in the database
Methods
impl Rule
[src]
pub fn pronunciation(&self) -> &[Symbol]
[src]
Retuns a slice of the Symbols for the word
pub fn label(&self) -> &str
[src]
Returns the word
Trait Implementations
impl Debug for Rule
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Rule
[src]
fn clone(&self) -> Rule
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Rule
[src]
fn eq(&self, __arg_0: &Rule) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Rule) -> bool
[src]
This method tests for !=
.