Struct LootLevel
#[non_exhaustive]pub struct LootLevel {
pub dimension: String,
pub game_time: i64,
pub day_time: i64,
pub raining: bool,
pub thundering: bool,
}Expand description
Level facts captured around a loot roll.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.dimension: StringDimension identifier, including custom dimensions.
game_time: i64Elapsed game ticks.
day_time: i64Day time; the time of day is its remainder modulo 24,000.
raining: boolWhether it is raining.
thundering: boolWhether it is thundering.
Trait Implementations§
impl StructuralPartialEq for LootLevel
Auto Trait Implementations§
impl Freeze for LootLevel
impl RefUnwindSafe for LootLevel
impl Send for LootLevel
impl Sync for LootLevel
impl Unpin for LootLevel
impl UnsafeUnpin for LootLevel
impl UnwindSafe for LootLevel
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