pub enum DPadButtonError {
NonExistentDPadButton,
}Expand description
Errors that can occur while parsing a DPadButton.
Variants§
NonExistentDPadButton
The extracted button value did not correspond to any known D-pad direction.
Trait Implementations§
Source§impl Debug for DPadButtonError
impl Debug for DPadButtonError
Source§impl Display for DPadButtonError
impl Display for DPadButtonError
Source§impl Error for DPadButtonError
impl Error for DPadButtonError
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 From<DPadButtonError> for DPadInputError
impl From<DPadButtonError> for DPadInputError
Source§fn from(source: DPadButtonError) -> Self
fn from(source: DPadButtonError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DPadButtonError
impl RefUnwindSafe for DPadButtonError
impl Send for DPadButtonError
impl Sync for DPadButtonError
impl Unpin for DPadButtonError
impl UnsafeUnpin for DPadButtonError
impl UnwindSafe for DPadButtonError
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