pub struct Bits;Expand description
Encode number of bits (coils or discrete inputs).
Trait Implementations§
Source§impl SizeArgument for Bits
impl SizeArgument for Bits
Source§const BYTE_ALIGNMENT: u8 = 1
const BYTE_ALIGNMENT: u8 = 1
Required byte alignment: 1 for bits, 2 for words (registers).
Source§fn quantity_for<V: BitSize>() -> u16
fn quantity_for<V: BitSize>() -> u16
The quantity count to write on the wire for a value of type
V.Auto Trait Implementations§
impl Freeze for Bits
impl RefUnwindSafe for Bits
impl Send for Bits
impl Sync for Bits
impl Unpin for Bits
impl UnsafeUnpin for Bits
impl UnwindSafe for Bits
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