Enum sdl2::controller::MappingStatus
source · pub enum MappingStatus {
Added = 1,
Updated = 0,
}
Expand description
Possible return values for add_mapping
Variants§
Trait Implementations§
source§impl Clone for MappingStatus
impl Clone for MappingStatus
source§fn clone(&self) -> MappingStatus
fn clone(&self) -> MappingStatus
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 MappingStatus
impl Debug for MappingStatus
source§impl Hash for MappingStatus
impl Hash for MappingStatus
source§impl PartialEq for MappingStatus
impl PartialEq for MappingStatus
source§fn eq(&self, other: &MappingStatus) -> bool
fn eq(&self, other: &MappingStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MappingStatus
impl Eq for MappingStatus
impl StructuralEq for MappingStatus
impl StructuralPartialEq for MappingStatus
Auto Trait Implementations§
impl RefUnwindSafe for MappingStatus
impl Send for MappingStatus
impl Sync for MappingStatus
impl Unpin for MappingStatus
impl UnwindSafe for MappingStatus
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