pub enum ParseScaleError {
ParseFloat(ParseFloatError),
ParseInt(ParseIntError),
MissingDescription,
MissingNoteCount,
WrongPitchCount(usize),
}
Variants§
ParseFloat(ParseFloatError)
ParseInt(ParseIntError)
MissingDescription
MissingNoteCount
WrongPitchCount(usize)
Trait Implementations§
Source§impl Clone for ParseScaleError
impl Clone for ParseScaleError
Source§fn clone(&self) -> ParseScaleError
fn clone(&self) -> ParseScaleError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ParseScaleError
impl Debug for ParseScaleError
Source§impl From<ParseFloatError> for ParseScaleError
impl From<ParseFloatError> for ParseScaleError
Source§fn from(value: ParseFloatError) -> Self
fn from(value: ParseFloatError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for ParseScaleError
impl From<ParseIntError> for ParseScaleError
Source§fn from(value: ParseIntError) -> Self
fn from(value: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl From<ParsePitchError> for ParseScaleError
impl From<ParsePitchError> for ParseScaleError
Source§fn from(value: ParsePitchError) -> Self
fn from(value: ParsePitchError) -> Self
Converts to this type from the input type.
Source§impl From<ParseScaleError> for SerdeScalaError
impl From<ParseScaleError> for SerdeScalaError
Source§fn from(value: ParseScaleError) -> Self
fn from(value: ParseScaleError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParseScaleError
impl PartialEq for ParseScaleError
impl Eq for ParseScaleError
impl StructuralPartialEq for ParseScaleError
Auto Trait Implementations§
impl Freeze for ParseScaleError
impl RefUnwindSafe for ParseScaleError
impl Send for ParseScaleError
impl Sync for ParseScaleError
impl Unpin for ParseScaleError
impl UnwindSafe for ParseScaleError
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