pub struct InputCategory {
pub devices: HashMap<String, InputDevice>,
}
Fields§
§devices: HashMap<String, InputDevice>
Trait Implementations§
Source§impl Clone for InputCategory
impl Clone for InputCategory
Source§fn clone(&self) -> InputCategory
fn clone(&self) -> InputCategory
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 InputCategory
impl Debug for InputCategory
Source§impl Default for InputCategory
impl Default for InputCategory
Source§fn default() -> InputCategory
fn default() -> InputCategory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputCategory
impl<'de> Deserialize<'de> for InputCategory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InputCategory
impl PartialEq for InputCategory
Source§impl Serialize for InputCategory
impl Serialize for InputCategory
impl StructuralPartialEq for InputCategory
Auto Trait Implementations§
impl Freeze for InputCategory
impl RefUnwindSafe for InputCategory
impl Send for InputCategory
impl Sync for InputCategory
impl Unpin for InputCategory
impl UnwindSafe for InputCategory
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)