Enum sdl2::controller::MappingStatus
source · [−]pub enum MappingStatus {
Added,
Updated,
}
Expand description
Possible return values for add_mapping
Variants
Added
Updated
Trait Implementations
sourceimpl Clone for MappingStatus
impl Clone for MappingStatus
sourcefn clone(&self) -> MappingStatus
fn clone(&self) -> MappingStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MappingStatus
impl Debug for MappingStatus
sourceimpl Hash for MappingStatus
impl Hash for MappingStatus
sourceimpl PartialEq<MappingStatus> for MappingStatus
impl PartialEq<MappingStatus> for MappingStatus
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more