Struct roccat_vulcan_api_rs::HidInterfaceFilter [−][src]
pub struct HidInterfaceFilter { /* fields omitted */ }
Expand description
Basic HID interface filter with a product id and an interface number.
Implementations
Create a new HidInterfaceFilter
pub const fn new_with_usage_page(
product_id: u16,
interface_number: i32,
usage_page: u16
) -> Self
[src]
pub const fn new_with_usage_page(
product_id: u16,
interface_number: i32,
usage_page: u16
) -> Self
[src]Create a new filter with an usage page
Get the product id.
Get the product id as a mut ref.
Get the interface numer.
Get the interface numer as a mut reference.
Get the usage page
Get a mut reference to the usage page
returns whether or not a device match the filter
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for HidInterfaceFilter
impl Send for HidInterfaceFilter
impl Sync for HidInterfaceFilter
impl Unpin for HidInterfaceFilter
impl UnwindSafe for HidInterfaceFilter
Blanket Implementations
Mutably borrows from an owned value. Read more