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) -> Option<EPTYPE_A>

Get enumerated values variant

source

pub fn is_ctrl(&self) -> bool

Checks if the value of the field is CTRL

source

pub fn is_iso_out(&self) -> bool

Checks if the value of the field is ISO_OUT

source

pub fn is_iso_in(&self) -> bool

Checks if the value of the field is ISO_IN

source

pub fn is_bulk_out(&self) -> bool

Checks if the value of the field is BULK_OUT

source

pub fn is_bulk_in(&self) -> bool

Checks if the value of the field is BULK_IN

source

pub fn is_int_out(&self) -> bool

Checks if the value of the field is INT_OUT

source

pub fn is_int_in(&self) -> bool

Checks if the value of the field is INT_IN