pub type BREQUEST_R = FieldReader<u8, BREQUEST_A>;
Expand description
Field BREQUEST
reader - SETUP data, byte 1, bRequest. Values provided for standard requests only, user must implement class and vendor values.
Aliased Type§
struct BREQUEST_R { /* private fields */ }
Implementations§
Source§impl BREQUEST_R
impl BREQUEST_R
Sourcepub fn variant(&self) -> Option<BREQUEST_A>
pub fn variant(&self) -> Option<BREQUEST_A>
Get enumerated values variant
Sourcepub fn is_std_get_status(&self) -> bool
pub fn is_std_get_status(&self) -> bool
Checks if the value of the field is STD_GET_STATUS
Sourcepub fn is_std_clear_feature(&self) -> bool
pub fn is_std_clear_feature(&self) -> bool
Checks if the value of the field is STD_CLEAR_FEATURE
Sourcepub fn is_std_set_feature(&self) -> bool
pub fn is_std_set_feature(&self) -> bool
Checks if the value of the field is STD_SET_FEATURE
Sourcepub fn is_std_set_address(&self) -> bool
pub fn is_std_set_address(&self) -> bool
Checks if the value of the field is STD_SET_ADDRESS
Sourcepub fn is_std_get_descriptor(&self) -> bool
pub fn is_std_get_descriptor(&self) -> bool
Checks if the value of the field is STD_GET_DESCRIPTOR
Sourcepub fn is_std_set_descriptor(&self) -> bool
pub fn is_std_set_descriptor(&self) -> bool
Checks if the value of the field is STD_SET_DESCRIPTOR
Sourcepub fn is_std_get_configuration(&self) -> bool
pub fn is_std_get_configuration(&self) -> bool
Checks if the value of the field is STD_GET_CONFIGURATION
Sourcepub fn is_std_set_configuration(&self) -> bool
pub fn is_std_set_configuration(&self) -> bool
Checks if the value of the field is STD_SET_CONFIGURATION
Sourcepub fn is_std_get_interface(&self) -> bool
pub fn is_std_get_interface(&self) -> bool
Checks if the value of the field is STD_GET_INTERFACE
Sourcepub fn is_std_set_interface(&self) -> bool
pub fn is_std_set_interface(&self) -> bool
Checks if the value of the field is STD_SET_INTERFACE
Sourcepub fn is_std_synch_frame(&self) -> bool
pub fn is_std_synch_frame(&self) -> bool
Checks if the value of the field is STD_SYNCH_FRAME