mirror of
https://github.com/azalea-rs/simdnbt.git
synced 2025-08-02 15:36:03 +00:00
add traits to OptionalNbt
This commit is contained in:
parent
76347de9eb
commit
a75baa7a90
2 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,7 @@ pub struct Nbt<'a> {
|
|||
tag: CompoundTag<'a>,
|
||||
}
|
||||
|
||||
#[derive(Debug, PartialEq)]
|
||||
pub enum OptionalNbt<'a> {
|
||||
Some(Nbt<'a>),
|
||||
None,
|
||||
|
|
|
@ -26,6 +26,7 @@ pub struct Nbt {
|
|||
tag: CompoundTag,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub enum OptionalNbt {
|
||||
Some(Nbt),
|
||||
None,
|
||||
|
|
Loading…
Add table
Reference in a new issue