pub enum MonsterSpawnLightLevel {
Simple(i32),
Complex {
distribution_type: &'static str,
min_inclusive: i32,
max_inclusive: i32,
},
}Expand description
Represents the complex structure for monster spawn light level.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MonsterSpawnLightLevel
impl RefUnwindSafe for MonsterSpawnLightLevel
impl Send for MonsterSpawnLightLevel
impl Sync for MonsterSpawnLightLevel
impl Unpin for MonsterSpawnLightLevel
impl UnsafeUnpin for MonsterSpawnLightLevel
impl UnwindSafe for MonsterSpawnLightLevel
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