pub struct MID0045rev2 {
pub calibration_value_unit: u8,
pub calibration_value: u32,
pub channel_number: u8,
}
Fields§
§calibration_value_unit: u8
The unit of the calibration value
calibration_value: u32
The calibration value to set
channel_number: u8
The channel number for calibration
Trait Implementations§
Source§impl Debug for MID0045rev2
impl Debug for MID0045rev2
Source§impl Decode for MID0045rev2
impl Decode for MID0045rev2
Source§impl Default for MID0045rev2
impl Default for MID0045rev2
Source§fn default() -> MID0045rev2
fn default() -> MID0045rev2
Returns the “default value” for a type. Read more
Source§impl Encode for MID0045rev2
impl Encode for MID0045rev2
Source§impl Message for MID0045rev2
impl Message for MID0045rev2
fn mid() -> u16
fn to_mid(&self) -> u16
fn revision() -> u16
fn to_revision(&self) -> u16
fn message_type() -> MessageType
fn to_message_type(&self) -> MessageType
Source§impl PartialEq for MID0045rev2
impl PartialEq for MID0045rev2
impl Eq for MID0045rev2
impl StructuralPartialEq for MID0045rev2
Auto Trait Implementations§
impl Freeze for MID0045rev2
impl RefUnwindSafe for MID0045rev2
impl Send for MID0045rev2
impl Sync for MID0045rev2
impl Unpin for MID0045rev2
impl UnwindSafe for MID0045rev2
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