Trait nbt_lib::traits::SizeOf

source ·
pub trait SizeOf {
    // Required method
    fn size_of(&self) -> usize;
}
Expand description

A trait to determine the size of a struct

Required Methods§

source

fn size_of(&self) -> usize

Get the size of a struct

Implementors§