pub struct AddressRange {
pub discrete_inputs: Vec<(u16, u16)>,
pub coils: Vec<(u16, u16)>,
pub input_registers: Vec<(u16, u16)>,
pub holding_registers: Vec<(u16, u16)>,
}Fields§
§discrete_inputs: Vec<(u16, u16)>§coils: Vec<(u16, u16)>§input_registers: Vec<(u16, u16)>§holding_registers: Vec<(u16, u16)>Trait Implementations§
Source§impl Clone for AddressRange
impl Clone for AddressRange
Source§fn clone(&self) -> AddressRange
fn clone(&self) -> AddressRange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AddressRange
impl Debug for AddressRange
Source§impl Default for AddressRange
impl Default for AddressRange
Source§fn default() -> AddressRange
fn default() -> AddressRange
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AddressRange
impl RefUnwindSafe for AddressRange
impl Send for AddressRange
impl Sync for AddressRange
impl Unpin for AddressRange
impl UnsafeUnpin for AddressRange
impl UnwindSafe for AddressRange
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