Crate byteserde_types

source ·

Modules

Macros

  • Generates a tuple struct with a given name for managing an ascii char allocated on stack using u8.
  • This is a short hand macro for generating a new CONST tuple struct type for u8, i8 Typically will not be used directly but instead will be called via one of the other macros like const_u8_tuple, const_i8_tuple
  • Generates a tuple struct with a given name and a private ascii char allocated on stack using u8 whose value always set to parameter CONST.
  • see const_u8_tuple for more details and examples.
  • see const_u16_tuple for more details and examples.
  • see const_u16_tuple for more details and examples.
  • see const_u16_tuple for more details and examples.
  • This is a short hand macro for generating a new CONST tuple struct type for numerics like u16, i16, u32, i32, u64, i64, … Typically will not be used directly but instead will be called via one of the other macros like const_u16_tuple, const_i16_tuple, …
  • Generates a CONST tuple struct with a given name for managing a Numeric type u8 allocated on stack.
  • Generates a CONST tuple struct with a given name for managing a Numeric type u16 allocated on stack.
  • see const_u16_tuple for more details and examples.
  • see const_u16_tuple for more details and examples.
  • see u16_tuple for more details and examples.
  • see u16_tuple for more details and examples.
  • see u16_tuple for more details and examples.
  • This is a short hand macro for generating a new tuple struct type for numerics like u32, i32, u64, i64, f32, f64, … Typically will not be used directly but instead will be called via one of the other macros like u16_tuple, i16_tuple, …
  • Generates a tuple struct with a given name for managing an ascii string of fixed length. Buffer is stack allocated using [u8; LEN]. Macro argument signature is as follows:
  • Generates a tuple struct with a given name for managing a Numeric type u16 allocated on stack.
  • see u16_tuple for more details and examples.
  • see u16_tuple for more details and examples.