pub struct LootTable {
pub entries: Vec<LootEntry>,
pub gold_min: u64,
pub gold_max: u64,
pub drop_chance: f32,
pub item_count_min: u32,
pub item_count_max: u32,
}Fields§
§entries: Vec<LootEntry>§gold_min: u64§gold_max: u64§drop_chance: f32§item_count_min: u32§item_count_max: u32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LootTable
impl RefUnwindSafe for LootTable
impl Send for LootTable
impl Sync for LootTable
impl Unpin for LootTable
impl UnsafeUnpin for LootTable
impl UnwindSafe for LootTable
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