Struct sawp_modbus::Function
source · [−]pub struct Function {
pub raw: u8,
pub code: FunctionCode,
}
Expand description
Information on the function code parsed
Fields
raw: u8
Value of the function byte
code: FunctionCode
Function name associated with the raw value
Trait Implementations
impl StructuralPartialEq for Function
Auto Trait Implementations
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more