pub struct TemplateData {
pub size: [i32; 3],
pub jigsaws: Vec<JigsawBlock>,
}Expand description
Extracted data from a structure template NBT file.
Contains only the information needed for jigsaw assembly — not the full block data (which is loaded separately for actual placement).
Fields§
§size: [i32; 3]Template size in blocks (x, y, z).
jigsaws: Vec<JigsawBlock>Jigsaw connector blocks in this template.
Trait Implementations§
Source§impl Clone for TemplateData
impl Clone for TemplateData
Source§fn clone(&self) -> TemplateData
fn clone(&self) -> TemplateData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TemplateData
impl RefUnwindSafe for TemplateData
impl Send for TemplateData
impl Sync for TemplateData
impl Unpin for TemplateData
impl UnsafeUnpin for TemplateData
impl UnwindSafe for TemplateData
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