pub enum SpawnCondition {
Structure {
structures: &'static str,
},
MoonBrightness {
min: Option<f32>,
max: Option<f32>,
},
Biome {
biomes: &'static str,
},
}Expand description
Defines various spawn conditions for cat variants.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpawnCondition
impl RefUnwindSafe for SpawnCondition
impl Send for SpawnCondition
impl Sync for SpawnCondition
impl Unpin for SpawnCondition
impl UnsafeUnpin for SpawnCondition
impl UnwindSafe for SpawnCondition
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