pub struct CreateParams {
pub name: String,
pub phys: String,
pub uniq: String,
pub bus: Bus,
pub vendor: u32,
pub product: u32,
pub version: u32,
pub country: u32,
pub data: Vec<u8>,
}Expand description
The paramters used to create the UHID device
Fields§
§name: String§phys: String§uniq: String§bus: Bus§vendor: u32§product: u32§version: u32§country: u32§data: Vec<u8>Auto Trait Implementations§
impl Freeze for CreateParams
impl RefUnwindSafe for CreateParams
impl Send for CreateParams
impl Sync for CreateParams
impl Unpin for CreateParams
impl UnwindSafe for CreateParams
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