Type Alias d1_pac::generic::FieldReader

source ·
pub type FieldReader<U, FI> = FieldReaderRaw<U, FI>;
Expand description

Field reader.

Result of the read methods of fields.

Aliased Type§

struct FieldReader<U, FI> { /* private fields */ }

Implementations§

source§

impl<U, FI> FieldReader<U, FI>
where U: Copy,

source

pub fn bits(&self) -> U

Reads raw bits from field.

Trait Implementations§

source§

impl<U, FI> PartialEq<FI> for FieldReader<U, FI>
where U: PartialEq + From<FI>, FI: 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.