Struct fastanvil::PackedBits [−][src]
pub struct PackedBits(pub LongArray);
Expand description
PackedBits can be used in place of blockstates in chunks to avoid
allocating memory for them when they might not be needed. This object by
default just retains a reference to the data in the input, and unpack_into
can be used to get the unpacked version when needed.
Tuple Fields
0: LongArray
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more