pub enum ParseColorsError {
IncorrectColor,
Number(ParseNumberError),
}Expand description
All the ways that parsing a .osu file into Colors can fail.
Variants§
IncorrectColor
Number(ParseNumberError)
Trait Implementations§
Source§impl Debug for ParseColorsError
impl Debug for ParseColorsError
Source§impl Display for ParseColorsError
impl Display for ParseColorsError
Source§impl Error for ParseColorsError
impl Error for ParseColorsError
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 From<ParseColorsError> for ParseBeatmapError
impl From<ParseColorsError> for ParseBeatmapError
Source§fn from(x: ParseColorsError) -> ParseBeatmapError
fn from(x: ParseColorsError) -> ParseBeatmapError
Converts to this type from the input type.
Source§impl From<ParseIntError> for ParseColorsError
impl From<ParseIntError> for ParseColorsError
Source§fn from(err: ParseIntError) -> Self
fn from(err: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParseColorsError
impl RefUnwindSafe for ParseColorsError
impl Send for ParseColorsError
impl Sync for ParseColorsError
impl Unpin for ParseColorsError
impl UnwindSafe for ParseColorsError
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