pub struct LootEntry {
pub item_builder: fn(u32) -> Item,
pub weight: f32,
pub min_qty: u32,
pub max_qty: u32,
pub min_level: u32,
pub requires_rare_roll: bool,
}Fields§
§item_builder: fn(u32) -> Item§weight: f32§min_qty: u32§max_qty: u32§min_level: u32§requires_rare_roll: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for LootEntry
impl RefUnwindSafe for LootEntry
impl Send for LootEntry
impl Sync for LootEntry
impl Unpin for LootEntry
impl UnsafeUnpin for LootEntry
impl UnwindSafe for LootEntry
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