pub struct Component {
pub name: &'static str,
pub bits: u8,
pub scale: Option<f64>,
pub offset: Option<f64>,
pub units: Option<&'static str>,
pub accumulate: bool,
}Expand description
One LSB-first slot inside a Components field.
Fields§
§name: &'static strName of the synthesised sub-value (refers to another field in the same message).
bits: u8Width in bits.
scale: Option<f64>§offset: Option<f64>§units: Option<&'static str>§accumulate: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Component
impl RefUnwindSafe for Component
impl Send for Component
impl Sync for Component
impl Unpin for Component
impl UnsafeUnpin for Component
impl UnwindSafe for Component
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