Macro exonum::implement_std_field [] [src]

macro_rules! implement_std_field {
    ($name:ident $fn_read:expr; $fn_write:expr) => { ... };
}

implement field for all types that has writer and reader functions

  • reader signature is fn (&[u8]) -> T
  • writer signature is fn (&mut [u8], T)