pub struct El3356View<'a> {
pub tare: &'a mut bool,
pub load: &'a f32,
pub load_steady: &'a bool,
pub load_error: &'a bool,
pub load_overrange: &'a bool,
}Expand description
Borrowed view into GlobalMemory for one EL3356 terminal.
Holds mutable references to output (RxPDO) fields and shared references
to input (TxPDO) fields. Construct via the [el3356_view!] macro.
Fields§
§tare: &'a mut boolTare command bit (output to device).
load: &'a f32Current scaled load (input from device).
load_steady: &'a boolSteady-state flag (input from device). true when the signal has
been stable within the configured band for long enough.
load_error: &'a boolGeneral error flag (input from device).
load_overrange: &'a boolOverrange flag (input from device).
Auto Trait Implementations§
impl<'a> Freeze for El3356View<'a>
impl<'a> RefUnwindSafe for El3356View<'a>
impl<'a> Send for El3356View<'a>
impl<'a> Sync for El3356View<'a>
impl<'a> Unpin for El3356View<'a>
impl<'a> UnsafeUnpin for El3356View<'a>
impl<'a> !UnwindSafe for El3356View<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more