Struct fastanvil::PackedBits [−][src]
pub struct PackedBits(_);
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.
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
Auto Trait Implementations
impl RefUnwindSafe for PackedBits
impl Send for PackedBits
impl Sync for PackedBits
impl Unpin for PackedBits
impl UnwindSafe for PackedBits