Crate byteserde_types

Source

Modules§

macros
prelude
strings

Macros§

_common_char_ascii
_common_char_ascii_serde
_common_const_char_ascii
_common_const_char_ascii_serde
_common_string_ascii_fixed
_common_string_ascii_fixed_serde
byte_tuple
char_ascii
Generates a tuple struct with a given name for managing an ascii char allocated on stack using u8.
const_byte
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
const_char_ascii
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.
const_i8_tuple
see const_u8_tuple for more details and examples.
const_i16_tuple
see const_u16_tuple for more details and examples.
const_i32_tuple
see const_u16_tuple for more details and examples.
const_i64_tuple
see const_u16_tuple for more details and examples.
const_numeric
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, …
const_u8_tuple
Generates a CONST tuple struct with a given name for managing a Numeric type u8 allocated on stack.
const_u16_tuple
Generates a CONST tuple struct with a given name for managing a Numeric type u16 allocated on stack.
const_u32_tuple
see const_u16_tuple for more details and examples.
const_u64_tuple
see const_u16_tuple for more details and examples.
f32_tuple
see u16_tuple for more details and examples.
i8_tuple
see u8_tuple for more details and examples.
i16_tuple
see u16_tuple for more details and examples.
i32_tuple
see u16_tuple for more details and examples.
i64_tuple
see u16_tuple for more details and examples.
numeric_tuple
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, …
string_ascii_fixed
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:
u8_tuple
Generates a tuple struct with a given name for managing a Byte type u8 allocated on stack.
u16_tuple
Generates a tuple struct with a given name for managing a Numeric type u16 allocated on stack.
u32_tuple
see u16_tuple for more details and examples.
u64_tuple
see u16_tuple for more details and examples.