Type Alias FieldReader

Source
pub type FieldReader<FI = u8> = FieldReader<FI>;
Expand description

Field reader.

Result of the read methods of fields.

Aliased Type§

struct FieldReader<FI = u8> { /* private fields */ }

Implementations§

Source§

impl<FI: FieldSpec> FieldReader<FI>

Source

pub const fn bits(&self) -> FI::Ux

Reads raw bits from field.

Trait Implementations§

Source§

impl<FI> PartialEq<FI> for FieldReader<FI>
where FI: FieldSpec + Copy,

Source§

fn eq(&self, other: &FI) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.