pub type PAR_R = FieldReader<PARSELECT_A>;
Expand description

Field PAR reader - Parity Type

Aliased Type§

struct PAR_R { /* private fields */ }

Implementations§

source§

impl PAR_R

source

pub fn variant(&self) -> Option<PARSELECT_A>

Get enumerated values variant

source

pub fn is_even(&self) -> bool

Checks if the value of the field is EVEN

source

pub fn is_odd(&self) -> bool

Checks if the value of the field is ODD

source

pub fn is_space(&self) -> bool

Checks if the value of the field is SPACE

source

pub fn is_mark(&self) -> bool

Checks if the value of the field is MARK

source

pub fn is_no(&self) -> bool

Checks if the value of the field is NO

source

pub fn is_multidrop(&self) -> bool

Checks if the value of the field is MULTIDROP