pub struct StructureEntryData {
pub structure: Identifier,
pub weight: i32,
}Expand description
A weighted structure entry within a structure set.
Fields§
§structure: IdentifierStructure identifier (e.g., minecraft:village_plains).
weight: i32Selection weight.
Trait Implementations§
Source§impl Clone for StructureEntryData
impl Clone for StructureEntryData
Source§fn clone(&self) -> StructureEntryData
fn clone(&self) -> StructureEntryData
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 StructureEntryData
impl RefUnwindSafe for StructureEntryData
impl Send for StructureEntryData
impl Sync for StructureEntryData
impl Unpin for StructureEntryData
impl UnsafeUnpin for StructureEntryData
impl UnwindSafe for StructureEntryData
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