pub struct Bound {
pub vid: u16,
pub pid: u16,
pub gen: u32,
}Expand description
Who the bound device is, as its host enumerated it.
Fields§
§vid: u16§pid: u16§gen: u32Which binding of it this is: the same device bound again (a replug) has a different one.
Trait Implementations§
impl Copy for Bound
impl Eq for Bound
impl StructuralPartialEq for Bound
Auto Trait Implementations§
impl Freeze for Bound
impl RefUnwindSafe for Bound
impl Send for Bound
impl Sync for Bound
impl Unpin for Bound
impl UnsafeUnpin for Bound
impl UnwindSafe for Bound
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