Expand description
Implementation of the #[derive(Storable)] macro.
Functionsยง
- derive_
impl ๐ - Implements the
Storablederive macro for structs and#[repr(u8)]unit enums. - derive_
struct_ ๐impl - derive_
unit_ ๐enum_ impl - gen_
delete_ ๐impl - Generate
fn delete()implementation. - gen_
handler_ ๐struct - Generate a handler struct for the storable type.
- gen_
load_ ๐impl - Generate
fn load()implementation. - gen_
packing_ ๐module_ from_ ir - Generate a compile-time module that calculates the packing layout from IR.
- gen_
store_ ๐impl - Generate
fn store()implementation. - has_
repr_ ๐u8 - validate_
sequential_ ๐discriminants