Enum quartz_nbt::io::Flavor
source · pub enum Flavor {
Uncompressed,
ZlibCompressed,
ZlibCompressedWith(Compression),
GzCompressed,
GzCompressedWith(Compression),
}
Expand description
Describes the flavors of NBT data: uncompressed, Zlib compressed and Gz compressed.
Variants§
Uncompressed
Uncompressed NBT data.
ZlibCompressed
Zlib compressed NBT data. When writing, the default compression level will be used.
ZlibCompressedWith(Compression)
Zlib compressed NBT data with the given compression level.
GzCompressed
Gz compressed NBT data. When writing, the default compression level will be used.
GzCompressedWith(Compression)
Gz compressed NBT data with the given compression level.
Trait Implementations§
source§impl PartialEq for Flavor
impl PartialEq for Flavor
impl Copy for Flavor
impl Eq for Flavor
impl StructuralPartialEq for Flavor
Auto Trait Implementations§
impl Freeze for Flavor
impl RefUnwindSafe for Flavor
impl Send for Flavor
impl Sync for Flavor
impl Unpin for Flavor
impl UnwindSafe for Flavor
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more