Skip to main content

Crate apollo_sizeof

Crate apollo_sizeof 

Source

Macros§

default_deref_sizeof
default_primitive_sizeof

Traits§

SizeOf
Trait for types that can report their size in bytes. There are two methods:

Derive Macros§

SizeOf
This macro derives the SizeOf trait for structs and enums, allowing them to calculate their dynamic size and total size in bytes.