pub type EPTYPE_R = FieldReader<u8, EPTYPE_A>;
Expand description

Field EPTYPE reader - Endpoint Type

Implementations§

source§

impl EPTYPE_R

source

pub fn variant(&self) -> EPTYPE_A

Get enumerated values variant

source

pub fn is_control(&self) -> bool

Checks if the value of the field is CONTROL

source

pub fn is_iso(&self) -> bool

Checks if the value of the field is ISO

source

pub fn is_bulk(&self) -> bool

Checks if the value of the field is BULK

source

pub fn is_int(&self) -> bool

Checks if the value of the field is INT