Struct cmudict_core::ParseError [−][src]
pub struct ParseError(_);
Error that can be thrown while parsing the cmudict file
Methods
impl ParseError
[src]
impl ParseError
pub fn new(s: &str) -> ParseError
[src]
pub fn new(s: &str) -> ParseError
Constructs a ParseError. Will allocate a new string from the passed slice
Trait Implementations
impl Debug for ParseError
[src]
impl Debug for ParseError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ParseError
[src]
impl Clone for ParseError
fn clone(&self) -> ParseError
[src]
fn clone(&self) -> ParseError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for ParseError
[src]
impl PartialEq for ParseError
fn eq(&self, other: &ParseError) -> bool
[src]
fn eq(&self, other: &ParseError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ParseError) -> bool
[src]
fn ne(&self, other: &ParseError) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Sync for ParseError