pub struct InputDeviceInfo {
pub id: String,
pub name: String,
pub is_default: bool,
}Fields§
§id: String§name: String§is_default: boolTrait Implementations§
Source§impl Clone for InputDeviceInfo
impl Clone for InputDeviceInfo
Source§fn clone(&self) -> InputDeviceInfo
fn clone(&self) -> InputDeviceInfo
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for InputDeviceInfo
impl RefUnwindSafe for InputDeviceInfo
impl Send for InputDeviceInfo
impl Sync for InputDeviceInfo
impl Unpin for InputDeviceInfo
impl UnsafeUnpin for InputDeviceInfo
impl UnwindSafe for InputDeviceInfo
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