pub struct List {
pub elem_type: u8,
pub items: Vec<Tag>,
}Expand description
An NBT list: element type id and elements (all of that type).
Fields§
§elem_type: u8Element tag type (tag::END for an empty untyped list).
items: Vec<Tag>The elements; each must be of elem_type.
Trait Implementations§
impl StructuralPartialEq for List
Auto Trait Implementations§
impl Forget for List
impl Freeze for List
impl RefUnwindSafe for List
impl Send for List
impl Sync for List
impl Unpin for List
impl UnsafeUnpin for List
impl UnwindSafe for List
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