pub struct ParseSyllableError(pub char);Expand description
Error which can be returned when a given char is not in a Hangul syllables.
Unicode Hangul Syllables is a Unicode block range from U+AC00 to U+D7AF. Since char covers much larger range,
there’s a chance where char is not in a Hangul syllable. In that case, ParseSyllableError is returned.
Tuple Fields§
§0: charTrait Implementations§
Source§impl Debug for ParseSyllableError
impl Debug for ParseSyllableError
Source§impl Display for ParseSyllableError
impl Display for ParseSyllableError
Source§impl Error for ParseSyllableError
impl Error for ParseSyllableError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 Ord for ParseSyllableError
impl Ord for ParseSyllableError
Source§fn cmp(&self, other: &ParseSyllableError) -> Ordering
fn cmp(&self, other: &ParseSyllableError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ParseSyllableError
impl PartialEq for ParseSyllableError
Source§impl PartialOrd for ParseSyllableError
impl PartialOrd for ParseSyllableError
impl Eq for ParseSyllableError
impl StructuralPartialEq for ParseSyllableError
Auto Trait Implementations§
impl Freeze for ParseSyllableError
impl RefUnwindSafe for ParseSyllableError
impl Send for ParseSyllableError
impl Sync for ParseSyllableError
impl Unpin for ParseSyllableError
impl UnwindSafe for ParseSyllableError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more