#[non_exhaustive]pub enum TrackItemParseError {
InvalidNumSegments(usize),
InvalidNumElements(usize),
ElementParseError(ParseFloatError),
TimeCurveParseError(TimeCurveParseError),
InvalidFlagValue,
InconsistentStep,
InvalidStepValue(TrackStepParseError),
}Expand description
トラックバー項目のパースエラー。
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidNumSegments(usize)
InvalidNumElements(usize)
ElementParseError(ParseFloatError)
TimeCurveParseError(TimeCurveParseError)
InvalidFlagValue
InconsistentStep
InvalidStepValue(TrackStepParseError)
Trait Implementations§
Source§impl Clone for TrackItemParseError
impl Clone for TrackItemParseError
Source§fn clone(&self) -> TrackItemParseError
fn clone(&self) -> TrackItemParseError
Returns a duplicate 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 TrackItemParseError
impl Debug for TrackItemParseError
Source§impl Display for TrackItemParseError
impl Display for TrackItemParseError
Source§impl Error for TrackItemParseError
impl Error for TrackItemParseError
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<ParseFloatError> for TrackItemParseError
impl From<ParseFloatError> for TrackItemParseError
Source§fn from(source: ParseFloatError) -> Self
fn from(source: ParseFloatError) -> Self
Converts to this type from the input type.
Source§impl From<TimeCurveParseError> for TrackItemParseError
impl From<TimeCurveParseError> for TrackItemParseError
Source§fn from(source: TimeCurveParseError) -> Self
fn from(source: TimeCurveParseError) -> Self
Converts to this type from the input type.
Source§impl From<TrackStepParseError> for TrackItemParseError
impl From<TrackStepParseError> for TrackItemParseError
Source§fn from(source: TrackStepParseError) -> Self
fn from(source: TrackStepParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TrackItemParseError
impl RefUnwindSafe for TrackItemParseError
impl Send for TrackItemParseError
impl Sync for TrackItemParseError
impl Unpin for TrackItemParseError
impl UnwindSafe for TrackItemParseError
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