Struct game_grid::ParseCellError
source · pub struct ParseCellError(pub char);Expand description
Error that can be raised when parsing a cell, repoting the character that could not be read.
Tuple Fields§
§0: charTrait Implementations§
source§impl Debug for ParseCellError
impl Debug for ParseCellError
source§impl Display for ParseCellError
impl Display for ParseCellError
source§impl Error for ParseCellError
impl Error for ParseCellError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq<ParseCellError> for ParseCellError
impl PartialEq<ParseCellError> for ParseCellError
source§fn eq(&self, other: &ParseCellError) -> bool
fn eq(&self, other: &ParseCellError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.