Enum gilrs::mapping::ParseSdlMappingError
source · pub enum ParseSdlMappingError {
UnknownHatDirection,
ParseError(Error),
}
Variants§
Trait Implementations§
source§impl Clone for ParseSdlMappingError
impl Clone for ParseSdlMappingError
source§fn clone(&self) -> ParseSdlMappingError
fn clone(&self) -> ParseSdlMappingError
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 ParseSdlMappingError
impl Debug for ParseSdlMappingError
source§impl Display for ParseSdlMappingError
impl Display for ParseSdlMappingError
source§impl Error for ParseSdlMappingError
impl Error for ParseSdlMappingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<Error> for ParseSdlMappingError
impl From<Error> for ParseSdlMappingError
source§fn from(f: ParserError) -> Self
fn from(f: ParserError) -> Self
Converts to this type from the input type.
source§impl PartialEq for ParseSdlMappingError
impl PartialEq for ParseSdlMappingError
source§fn eq(&self, other: &ParseSdlMappingError) -> bool
fn eq(&self, other: &ParseSdlMappingError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ParseSdlMappingError
impl StructuralPartialEq for ParseSdlMappingError
Auto Trait Implementations§
impl Freeze for ParseSdlMappingError
impl RefUnwindSafe for ParseSdlMappingError
impl Send for ParseSdlMappingError
impl Sync for ParseSdlMappingError
impl Unpin for ParseSdlMappingError
impl UnwindSafe for ParseSdlMappingError
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