pub struct LootEntry {
pub item_id: Option<u64>,
pub weight: f32,
pub min_count: u32,
pub max_count: u32,
pub generator_type: Option<String>,
}Fields§
§item_id: Option<u64>§weight: f32§min_count: u32§max_count: u32§generator_type: Option<String>Implementations§
Trait 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