Struct BiomeSpawners
pub struct BiomeSpawners {
pub category: String,
pub entries: Vec<SpawnEntry>,
}Expand description
One spawn category of a biome’s natural spawns (MobSpawnSettings): what
level_biome_spawners reads.
Fields§
§category: StringThe category (monster, creature, ambient, axolotls, water_creature…).
entries: Vec<SpawnEntry>The category’s spawners, in the biome file’s order.
Trait Implementations§
§impl Clone for BiomeSpawners
impl Clone for BiomeSpawners
§fn clone(&self) -> BiomeSpawners
fn clone(&self) -> BiomeSpawners
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 more§impl Debug for BiomeSpawners
impl Debug for BiomeSpawners
impl Eq for BiomeSpawners
§impl PartialEq for BiomeSpawners
impl PartialEq for BiomeSpawners
impl StructuralPartialEq for BiomeSpawners
Auto Trait Implementations§
impl Freeze for BiomeSpawners
impl RefUnwindSafe for BiomeSpawners
impl Send for BiomeSpawners
impl Sync for BiomeSpawners
impl Unpin for BiomeSpawners
impl UnsafeUnpin for BiomeSpawners
impl UnwindSafe for BiomeSpawners
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